选择线稿图后下一步
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<router-view></router-view>
|
||||
<toolTipBox v-model:visible="visible" @close="() => {}"></toolTipBox>
|
||||
<toolTipBox v-model:visible="visible" @close="() => {}" ref="toolTipBoxRef"></toolTipBox>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -48,13 +48,15 @@
|
||||
path: "/home/seller/settings"
|
||||
}
|
||||
])
|
||||
const toolTipBoxRef = ref(null)
|
||||
const activePath = computed(() => route.path)
|
||||
const handleClick = (path) => {
|
||||
if (path === activePath.value) return
|
||||
router.push(path)
|
||||
}
|
||||
onMounted(()=>{
|
||||
myEvent.add('newListing',()=>{
|
||||
myEvent.add('newListing',(path)=>{
|
||||
toolTipBoxRef.value.routerPath = path
|
||||
visible.value = true
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user