| @@ -221,7 +221,7 @@ | |||||
| <viwe class="tian-view-t1"></viwe> | <viwe class="tian-view-t1"></viwe> | ||||
| <viwe class="tian-view-t2">常错词:</viwe> | <viwe class="tian-view-t2">常错词:</viwe> | ||||
| <viwe class="tian-view-t3"> | <viwe class="tian-view-t3"> | ||||
| <input type="text" v-model="thewrongword" :disabled="true" class="tian-input" placeholder="请输入" /> | |||||
| <input type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" /> | |||||
| </viwe> | </viwe> | ||||
| </view> | </view> | ||||
| <view class="tian-view"> | <view class="tian-view"> | ||||
| @@ -604,6 +604,7 @@ | |||||
| fdFlag2:null, | fdFlag2:null, | ||||
| tap: true, | tap: true, | ||||
| isSw:false, | isSw:false, | ||||
| isNum:false | |||||
| }; | }; | ||||
| }, | }, | ||||
| computed: { | computed: { | ||||
| @@ -1564,6 +1565,10 @@ | |||||
| Oftenthewrongword() { | Oftenthewrongword() { | ||||
| this.reswrongword = ""; | this.reswrongword = ""; | ||||
| this.isshow2 = true; | this.isshow2 = true; | ||||
| let reg = /^[0-9]+$/ | |||||
| if(reg.test(this.thewrongword)){ | |||||
| this.isNum = true | |||||
| } | |||||
| }, | }, | ||||
| //加精华 | //加精华 | ||||
| Addtheessence() { | Addtheessence() { | ||||