commit:1.6版本同步

This commit is contained in:
Jerry
2021-05-03 13:17:45 +08:00
parent 5f9a18a8eb
commit bf70ea94eb
4 changed files with 8 additions and 2 deletions

View File

@@ -263,6 +263,9 @@ const cachePageMixin = {
created () {
this.addCachePage(this.$options.name);
},
mounted () {
this.$route.meta.refresh = false;
},
activated () {
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
this.onResume();

View File

@@ -256,7 +256,7 @@ export class UploadWidget {
this.fileList = fileList;
}
} else {
this.fileList = [];
this.fileList = undefined;
}
return this.fileList;
}

View File

@@ -263,6 +263,9 @@ const cachePageMixin = {
created () {
this.addCachePage(this.$options.name);
},
mounted () {
this.$route.meta.refresh = false;
},
activated () {
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
this.onResume();

View File

@@ -256,7 +256,7 @@ export class UploadWidget {
this.fileList = fileList;
}
} else {
this.fileList = [];
this.fileList = undefined;
}
return this.fileList;
}