From 19dfc10826aa399b7b1f0609528a655220edb5d1 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期五, 05 二月 2021 15:41:48 +0800 Subject: [PATCH] 修复 事件推送中选项值为全部、空的处理 --- src/pages/settings/components/BasicSetting.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/settings/components/BasicSetting.vue b/src/pages/settings/components/BasicSetting.vue index 8db1f78..b720c44 100644 --- a/src/pages/settings/components/BasicSetting.vue +++ b/src/pages/settings/components/BasicSetting.vue @@ -625,7 +625,7 @@ if (this.sysinfo.ip !== this.originNetConfig.ip) { let newUri = location.protocol + "//" + this.sysinfo.ip + ":" + this.sysinfo.server_port; var changeIPTimer = setTimeout(() => { - this.$alert('<strong>鎮ㄥ凡淇敼浜嗘湇鍔″櫒ip, 璇烽噸鏂扮櫥褰�</strong><a href="' + newUri + '"> ' + newUri + '<a/>', '鎻愮ず', { + this.$alert('<strong>鎮ㄥ凡淇敼浜嗘湇鍔″櫒ip, 璇烽噸鏂扮櫥褰�</strong><a target="_parent" href="' + newUri + '"> ' + newUri + '<a/>', '鎻愮ず', { dangerouslyUseHTMLString: true }); }, 10000) @@ -671,7 +671,7 @@ if (this.sysinfo.server_port !== this.webPort) { let newUri = location.protocol + "//" + this.sysinfo.ip + ":" + this.sysinfo.server_port; var changeIPTimer = setTimeout(() => { - this.$alert('<strong>鎮ㄥ凡淇敼浜嗘湇鍔″櫒绔彛, 璇烽噸鏂扮櫥褰�</strong><a href="' + newUri + '"> ' + newUri + '<a/>', '鎻愮ず', { + this.$alert('<strong>鎮ㄥ凡淇敼浜嗘湇鍔″櫒绔彛, 璇烽噸鏂扮櫥褰�</strong><a target="_parent" href="' + newUri + '"> ' + newUri + '<a/>', '鎻愮ず', { dangerouslyUseHTMLString: true }); }, 5000) -- Gitblit v1.8.0