Merge branch 'master' of http://gitea.xxhhcty.xyz:8080/zcdsj/factory_web
This commit is contained in:
commit
10988dae96
|
|
@ -212,6 +212,10 @@ export default {
|
||||||
this.isActivat = false;
|
this.isActivat = false;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//滚动到顶部
|
||||||
|
scrollToTop() {
|
||||||
|
this.$refs.scTable.scrollTo(0, 0);
|
||||||
|
},
|
||||||
//获取列
|
//获取列
|
||||||
async getCustomColumn() {
|
async getCustomColumn() {
|
||||||
const userColumn = await config.columnSettingGet(
|
const userColumn = await config.columnSettingGet(
|
||||||
|
|
|
||||||
|
|
@ -256,8 +256,9 @@ export default {
|
||||||
this.tvalue = "我的";
|
this.tvalue = "我的";
|
||||||
this.params.category = "owner";
|
this.params.category = "owner";
|
||||||
this.query = {};
|
this.query = {};
|
||||||
|
this.$refs.table.scrollToTop();
|
||||||
}
|
}
|
||||||
this.$refs.table.refresh()
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue