diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index 8650b48..def61a8 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -415,11 +415,7 @@ > - + /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) {