Browse Source

常错词

newStyle
jyt 2 years ago
parent
commit
265a70e0ca
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      src/views/Receive/index.vue

+ 5
- 3
src/views/Receive/index.vue View File

@@ -738,6 +738,7 @@ import { getStore, setStore } from "@/util/store";
export default {
data() {
return {
recordsText:[],
roleVisible: false,
roleFlag: "0",
roleidx: "",
@@ -1362,8 +1363,8 @@ export default {
subMsg() {
this.$refs.form.validate((valid) => {
if (valid) {
this.form.correctWord = this.ruleForm.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
this.form.wrongWord = this.ruleForm.wrongWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
this.form.correctWord = this.form.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
this.form.wrongWord = this.form.wrongWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
this.dialogFormVisible = false;
let sas = this.textItself.replace(
this.form.wrongWord,
@@ -1382,7 +1383,8 @@ export default {
cupid: this.form.cupid,
wrongWord: this.form.wrongWord,
customerId: this.fileId,
houseId: localStorage.getItem("houseId"),
houseId: this.userinformationlist.projectId,
translateHtmlContent:this.arr[this.aplayerId].audioContent
})
.then((res) => {
this.$message.success("保存成功");


Loading…
Cancel
Save