fix:样式优化、系统日志、报警记录表格展示

This commit is contained in:
吉浩茹
2025-09-30 00:29:23 +08:00
parent 1040f6aca1
commit bb5951df76
8 changed files with 164 additions and 198 deletions

View File

@ -88,11 +88,14 @@ const createMqtt = () => {
// 连接失败时隐藏loading
uni.hideLoading();
uni.showToast({
title: 'MQTT连接失败' + mqtturl,
icon: 'error',
duration: 3000
});
// uni.showToast({
// title: 'MQTT连接失败',
// icon: 'error',
// duration: 3000
// });
// 重置客户端,允许重试
client = null;
}
};
@ -105,7 +108,7 @@ const initEventHandleMqtt = (topicUrl) => {
// 显示连接成功提示
uni.showToast({
title: 'MQTT连接成功' + mqtturl,
title: 'MQTT连接成功',
icon: 'success',
duration: 2000
});