From ae182bc9dbda4de0368062bc6e30de7b5a9e9666 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Sat, 7 Jan 2023 13:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Template/Pinspeakwords.vue | 8 ++++++++ 1 file changed, 8 insertions(+) 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; }