mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 14:31:00 +08:00
fix(数据源): 替换Excel左右移动按键失效
This commit is contained in:
@@ -48,13 +48,13 @@ watch(
|
||||
)
|
||||
|
||||
const prevClick = () => {
|
||||
let domWrapper = document.querySelector('.tab-wrapper')
|
||||
let domWrapper = tabWrapper.value
|
||||
if (!domWrapper.scrollLeft) return
|
||||
domWrapper.scrollLeft -= 30
|
||||
}
|
||||
|
||||
const nextClick = () => {
|
||||
let domWrapper = document.querySelector('.tab-wrapper')
|
||||
let domWrapper = tabWrapper.value
|
||||
domWrapper.scrollLeft += 30
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user