From d19178fa8bb5c6adbcde9044df82e55f325d7ec2 Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Tue, 17 May 2022 18:26:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=B8=E9=94=99=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Receive/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index c5b1b01..1546e22 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -400,7 +400,7 @@ > - + @@ -816,6 +816,7 @@ export default { rec_index_todo: false, rec_index_receflag: false, rec_index_textyh: false, + isNum:false }; }, created() { @@ -1420,6 +1421,12 @@ export default { this.form.wrongWord = onebest.replace(/<.*?>/gi, ""); this.dialogFormVisible = true; this.argtextindex = index; + + this.isNum = false; + let reg = /^[0-9]+$/ + if (reg.test(this.form.wrongWord)) { + this.isNum = true + } }, // 销讲词禁忌tab recordclick(i) {