diff --git a/src/views/Template/wrongword.vue b/src/views/Template/wrongword.vue index d58252c..14cd3b6 100644 --- a/src/views/Template/wrongword.vue +++ b/src/views/Template/wrongword.vue @@ -282,14 +282,14 @@ export default { }, addSure() { // this.loadingFlag = true; - this.ruleForm.correctWord = this.ruleForm.correctWord.replace( - /[^\w\u4e00-\u9fa5]/g, - "" - ); - this.ruleForm.wrongWord = this.ruleForm.wrongWord.replace( - /[^\w\u4e00-\u9fa5]/g, - "" - ); + // this.ruleForm.correctWord = this.ruleForm.correctWord.replace( + // /[^\w\u4e00-\u9fa5]/g, + // "" + // ); + // this.ruleForm.wrongWord = this.ruleForm.wrongWord.replace( + // /[^\w\u4e00-\u9fa5]/g, + // "" + // ); this.$refs.ruleForm.validate((valid) => { if (valid) { // 编辑