feat: base scTable添加滚动到顶部操作
This commit is contained in:
parent
77806aa776
commit
d4dffdb47b
|
|
@ -207,6 +207,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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue