修复bug

This commit is contained in:
jiayu 2025-09-02 14:51:08 +08:00
parent 14407641ec
commit ab9fef045b
3 changed files with 5 additions and 4 deletions

View File

@ -153,7 +153,7 @@
{
title: '名称',
dataIndex: 'deviceName',
width: 60,
width: 100,
ellipsis: true,
},
{
@ -164,7 +164,7 @@
{
title: '报警项',
dataIndex: 'alarmTypeName',
width: 60,
width: 80,
},
{
title: '报警值',

View File

@ -96,9 +96,8 @@
isCustom.value = isCustom1;
if (isCustom.value) {
partyMember.value = list;
} else {
await getPartyMember();
}
await getPartyMember();
} else {
await getPartyMember();
}

View File

@ -125,12 +125,14 @@
}
const getWeatherLiveData = async () => {
// { cityid: '440300' }
const res = await bigdataApi.getWeatherLiveData({ cityid: '440300' });
currentWeather.value = res.data;
console.log(res);
};
const getWeatherData = async () => {
// { cityid: '440300' }
const res = await bigdataApi.getWeatherData({ cityid: '440300' });
weatherList.value = JSON.parse(res.data);
weatherList.value.forEach((item) => {