|
@@ -186,8 +186,12 @@ export default {
|
|
|
created() {
|
|
|
this.searchOthers();
|
|
|
let route = JSON.parse(sessionStorage.getItem(this.$route.path));
|
|
|
- if (route) this.search(route);
|
|
|
- else this.search();
|
|
|
+ if (route) {
|
|
|
+ this.search(route);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.dataTable.setPage(route);
|
|
|
+ });
|
|
|
+ } else this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
...dictData({ getDict: 'query' }),
|