mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
commit:1.6版本同步
This commit is contained in:
@@ -263,6 +263,9 @@ const cachePageMixin = {
|
|||||||
created () {
|
created () {
|
||||||
this.addCachePage(this.$options.name);
|
this.addCachePage(this.$options.name);
|
||||||
},
|
},
|
||||||
|
mounted () {
|
||||||
|
this.$route.meta.refresh = false;
|
||||||
|
},
|
||||||
activated () {
|
activated () {
|
||||||
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
|
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
|
||||||
this.onResume();
|
this.onResume();
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ export class UploadWidget {
|
|||||||
this.fileList = fileList;
|
this.fileList = fileList;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.fileList = [];
|
this.fileList = undefined;
|
||||||
}
|
}
|
||||||
return this.fileList;
|
return this.fileList;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -263,6 +263,9 @@ const cachePageMixin = {
|
|||||||
created () {
|
created () {
|
||||||
this.addCachePage(this.$options.name);
|
this.addCachePage(this.$options.name);
|
||||||
},
|
},
|
||||||
|
mounted () {
|
||||||
|
this.$route.meta.refresh = false;
|
||||||
|
},
|
||||||
activated () {
|
activated () {
|
||||||
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
|
if (this.$route && this.$route.meta && this.$route.meta.refresh) {
|
||||||
this.onResume();
|
this.onResume();
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ export class UploadWidget {
|
|||||||
this.fileList = fileList;
|
this.fileList = fileList;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.fileList = [];
|
this.fileList = undefined;
|
||||||
}
|
}
|
||||||
return this.fileList;
|
return this.fileList;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user