邓洁: 切换隧道,数据渲染
This commit is contained in:
@@ -82,13 +82,6 @@ watch(() => props.list, (now) => {
|
||||
handleOnMounted()
|
||||
}, {deep: true});
|
||||
|
||||
onMounted(() => {
|
||||
setTimeout(() => {
|
||||
nextTick(() => {
|
||||
handleOnMounted()
|
||||
})
|
||||
}, 100);
|
||||
});
|
||||
const getImage = (type) => {
|
||||
switch (type) {
|
||||
case false:
|
||||
@@ -121,6 +114,9 @@ const getBasicData = (data) => {
|
||||
tranArr.push(tranObj)
|
||||
})
|
||||
socketData.value = tranArr
|
||||
nextTick(() => {
|
||||
handleOnMounted()
|
||||
})
|
||||
}
|
||||
|
||||
const handleOnMounted = () => {
|
||||
|
||||
Reference in New Issue
Block a user