diff --git a/src/views/Template/Pinspeakwords.vue b/src/views/Template/Pinspeakwords.vue index fac4b94..b65e198 100644 --- a/src/views/Template/Pinspeakwords.vue +++ b/src/views/Template/Pinspeakwords.vue @@ -968,6 +968,14 @@ export default { }, // 评分保存 新增模板 saveRate(params) { + if(!params.templateName) { + + this.$message({ + message: "请填写模板名称", + type: "error", + }); + return + } if (this.Templateid != "") { params.tempId = this.Templateid; }