男女顺序问题

This commit is contained in:
TS-QD1 2023-11-30 18:35:38 +08:00
parent 07aa2cef84
commit 27ecdd2ea4

View File

@ -125,8 +125,8 @@ const womenCount = ref(0);
// //
axios.get(`app/query/sqlrelease/q1152adc`, {}).then(res => { axios.get(`app/query/sqlrelease/q1152adc`, {}).then(res => {
let data = res.data; let data = res.data;
manCount.value = data[0].value; manCount.value = data[1].value;
womenCount.value = data[1].value; womenCount.value = data[0].value;
}).catch(err => { }).catch(err => {
console.error(err); console.error(err);
}); });