zengyicheng 1 year ago
parent
commit
aef8950842

+ 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);