From 2088fad56e5d574549bfbddd4c241a03378c51c3 Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Tue, 2 Aug 2022 18:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=9D=E6=9C=AF=E5=AD=97?= =?UTF-8?q?=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/details2.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 8e3065f..c67c3fe 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -753,6 +753,16 @@ }, // 添加挖掘词 wajueConfirm(){ + if(this.thewrongword.length>20){ + uni.showToast({ + title: '该话术不能超过20个字', + icon: 'none', + duration: 2000 + }); + this.wajueItem.isshow = true + this.wajueshow = true + return; + } uni.request({ url: config.service.addWordMining, method: "post",