fix:样式优化、系统日志、报警记录表格展示
This commit is contained in:
@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user