Browse Source

保存常错词限制

newStyle
jyt 2 years ago
parent
commit
bdbfc11300
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/views/Template/wrongword.vue

+ 4
- 4
src/views/Template/wrongword.vue View File

@@ -320,10 +320,10 @@ export default {
} else {
// 添加

if (this.correctList.indexOf(this.ruleForm.correctWord) != -1) {
this.$message.error("正确词已添加过~");
return;
}
// if (this.correctList.indexOf(this.ruleForm.correctWord) != -1) {
// this.$message.error("正确词已添加过~");
// return;
// }

if (this.mistakenList.indexOf(this.ruleForm.wrongWord) != -1) {
this.$message.error("错误词已添加过~");


Loading…
Cancel
Save