This commit is contained in:
shijing 2025-11-13 13:48:00 +08:00
commit 10988dae96
2 changed files with 6 additions and 1 deletions

View File

@ -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(

View File

@ -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();
} }
}, },
}; };