取消分页滚动顶部效果
parent
1e5f232337
commit
86fab2bb90
@ -0,0 +1,9 @@
|
|||||||
|
export function DefaultCheck (line,dataList){
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (line === null) {
|
||||||
|
this.$refs.refDom.setCurrentRow(dataList[0]);
|
||||||
|
} else {
|
||||||
|
this.$refs.refDom.setCurrentRow(line,true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue