mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 17:48:34 +08:00
parent
69303b5207
commit
130c4383dc
@ -253,7 +253,7 @@ const { proxy } = getCurrentInstance() as any
|
||||
function setScrollIntoView() {
|
||||
let wraperSelector: string = ''
|
||||
let selectorPromise: Promise<UniApp.NodeInfo | UniApp.NodeInfo[]>[] = []
|
||||
if (isDef(selectList.value) && !isArray(selectList.value)) {
|
||||
if (isDef(selectList.value) && selectList.value !== '' && !isArray(selectList.value)) {
|
||||
wraperSelector = '#wd-radio-group'
|
||||
selectorPromise = [getRect(`#radio${selectList.value}`, false, proxy)]
|
||||
} else if (isArray(selectList.value) && selectList.value.length > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user