From 913f13a7796e8ede5a04c4cf446dad7d0e5321fa Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 3 Feb 2023 14:03:27 +0800 Subject: [PATCH] =?UTF-8?q?xiugai=E9=A6=96=E9=A1=B5=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Template/Pinspeakwords.vue | 14 +++++++------- src/views/Template/taboo.vue | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/Template/Pinspeakwords.vue b/src/views/Template/Pinspeakwords.vue index 2af665f..31a0cf4 100644 --- a/src/views/Template/Pinspeakwords.vue +++ b/src/views/Template/Pinspeakwords.vue @@ -968,14 +968,14 @@ export default { }, // 评分保存 新增模板 saveRate(params) { - if(!params.templateName) { + // if(!params.templateName) { - this.$message({ - message: "请填写模板名称", - type: "error", - }); - return - } + // this.$message({ + // message: "请填写模板名称", + // type: "error", + // }); + // return + // } if (this.Templateid != "") { params.tempId = this.Templateid; } diff --git a/src/views/Template/taboo.vue b/src/views/Template/taboo.vue index dc35eee..a745ab5 100644 --- a/src/views/Template/taboo.vue +++ b/src/views/Template/taboo.vue @@ -724,6 +724,7 @@ export default { this.$refs.ruleForm.resetFields(); this.page.currentPage = 1; this.words = ""; + this.ruleForm.sceneDesc = ''; this.taboofindbypagelist(); this.$message.success(res.data); } else { @@ -752,6 +753,7 @@ export default { this.$refs.ruleForm.resetFields(); this.page.currentPage = 1; this.words = ""; + this.ruleForm.sceneDesc = ''; this.taboofindbypagelist(); this.$message.success(res.data); } else {