From d6fe626b1cea8d206a4b9679c07d555e3de2ea9a Mon Sep 17 00:00:00 2001 From: ljm <1271952916@qq.com> Date: 星期六, 22 十月 2022 09:48:45 +0800 Subject: [PATCH] 【zlm心跳hook】重复查询redis了 变量也不需要多次定义 数据库有的话应该恢复zlm 缓存没有的话需要重新加载缓存 --- web_src/src/components/dialog/changePushKey.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/dialog/changePushKey.vue b/web_src/src/components/dialog/changePushKey.vue index 3efbf67..0b9834e 100644 --- a/web_src/src/components/dialog/changePushKey.vue +++ b/web_src/src/components/dialog/changePushKey.vue @@ -71,8 +71,7 @@ userId: this.form.id, } }).then((res)=> { - console.log(res.data) - if (res.data.msg === "success"){ + if (res.data.code === 0) { this.$message({ showClose: true, message: '淇敼鎴愬姛', -- Gitblit v1.8.0