mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:1.6版本同步
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -256,7 +256,7 @@ export class UploadWidget {
|
||||
this.fileList = fileList;
|
||||
}
|
||||
} else {
|
||||
this.fileList = [];
|
||||
this.fileList = undefined;
|
||||
}
|
||||
return this.fileList;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -256,7 +256,7 @@ export class UploadWidget {
|
||||
this.fileList = fileList;
|
||||
}
|
||||
} else {
|
||||
this.fileList = [];
|
||||
this.fileList = undefined;
|
||||
}
|
||||
return this.fileList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user