zengyicheng 1 年之前
父節點
當前提交
aef8950842
共有 3 個文件被更改,包括 15 次插入0 次删除
  1. 5 0
      src/components/easy2/studyStudent.vue
  2. 5 0
      src/components/easy3/studyStudent.vue
  3. 5 0
      src/components/studyStudent.vue

+ 5 - 0
src/components/easy2/studyStudent.vue

@@ -18687,6 +18687,11 @@ export default {
               this.engUpdateDialogVisible = false;
               this.newEngIndex = -1;
               this.isNoUserid = false;
+              if(this.newEngIndex == -1 && this.isNoUserid == true){
+                this.oldEnglishJson1 = {}
+              }else{
+                this.newEnglishList = { engTitle:"",engText:"" }
+              }
             })
             .catch((err) => {
               console.error(err);

+ 5 - 0
src/components/easy3/studyStudent.vue

@@ -18676,6 +18676,11 @@ export default {
               this.engUpdateDialogVisible = false;
               this.newEngIndex = -1;
               this.isNoUserid = false;
+              if(this.newEngIndex == -1 && this.isNoUserid == true){
+                this.oldEnglishJson1 = {}
+              }else{
+                this.newEnglishList = { engTitle:"",engText:"" }
+              }
             })
             .catch((err) => {
               console.error(err);

+ 5 - 0
src/components/studyStudent.vue

@@ -18651,6 +18651,11 @@ export default {
               this.engUpdateDialogVisible = false;
               this.newEngIndex = -1;
               this.isNoUserid = false;
+              if(this.newEngIndex == -1 && this.isNoUserid == true){
+                this.oldEnglishJson1 = {}
+              }else{
+                this.newEnglishList = { engTitle:"",engText:"" }
+              }
             })
             .catch((err) => {
               console.error(err);