diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 2a217b6..d2d8a07 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -221,7 +221,7 @@ 常错词: - + @@ -604,6 +604,7 @@ fdFlag2:null, tap: true, isSw:false, + isNum:false }; }, computed: { @@ -1564,6 +1565,10 @@ Oftenthewrongword() { this.reswrongword = ""; this.isshow2 = true; + let reg = /^[0-9]+$/ + if(reg.test(this.thewrongword)){ + this.isNum = true + } }, //加精华 Addtheessence() {