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 {