完善养殖端小程序

This commit is contained in:
xuqiuyun
2025-09-23 18:13:11 +08:00
parent bdc1b29934
commit e7a0cd4aa3
58 changed files with 12773 additions and 1228 deletions

View File

@@ -17,7 +17,7 @@ class IotXqClient extends Model {
2: '报警',
3: '维护'
};
return statusMap[this.state] || '未知';
return statusMap[this.is_connect] || '未知';
}
/**
@@ -30,7 +30,7 @@ class IotXqClient extends Model {
2: 'orange', // 报警
3: 'blue' // 维护
};
return colorMap[this.state] || 'default';
return colorMap[this.is_connect] || 'default';
}
/**