From eb1dbb22b4405fdb60c72a338cd7c8bf483bdddf Mon Sep 17 00:00:00 2001 From: fanluyan <754122931@qq.com> Date: Tue, 26 Mar 2024 15:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=B6=E8=97=8F=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/realTimeMonitor/index.vue | 42 +++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/src/views/realTimeMonitor/index.vue b/src/views/realTimeMonitor/index.vue index e3eb52e..d6f54a8 100644 --- a/src/views/realTimeMonitor/index.vue +++ b/src/views/realTimeMonitor/index.vue @@ -313,7 +313,7 @@ - + { if (res.code == 200) { this.favorOptions = res.data; this.favorform.favorVal = res.data[0].id; + if (this.favorOptions.length !== 0) { + this.favorListDialog = true; + } else { + this.$message({ + duration: 1500, + showClose: true, + message: "请到收藏夹管理页面添加收藏夹", + type: "warning", + }); + } } }) .catch((err) => {});