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