From 57e3bead08715d72efaeffe90fafa179b8366473 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 18 May 2024 12:02:14 +0800 Subject: [PATCH] 1.RSS更新 2.调整标签hover位置 3.font size --- src/components/group/MyModal.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/group/MyModal.vue b/src/components/group/MyModal.vue index bd193de..00bbada 100644 --- a/src/components/group/MyModal.vue +++ b/src/components/group/MyModal.vue @@ -63,7 +63,7 @@ let tempData = this.$refs.modalBox.form; var param = { introduce: tempData.introduce, - secret: tempData.secret, + secret: tempData.secret == "" ? null : md5(tempData.secret), title: tempData.title, articleTypeId: tempData.class, isOnline: !tempData.online ? 1 : 0, @@ -84,8 +84,13 @@ console.log(param) this.loading = true; blogAdd(param).then((res) => { - this.$message.info("生成日志成功..") - this.visible = false; + + if (res.code == 200) { + this.$message.info("生成日志成功..") + this.visible = false; + } else{ + this.$message.error('生成日志失败:' + res.message) + } this.loading = false; }); // setTimeout(() => { -- Gitblit v1.9.1