选择线稿图后下一步

This commit is contained in:
X1627315083@163.com
2026-04-27 11:07:51 +08:00
parent bd603e1bf9
commit 6d41e8cc34
6 changed files with 48 additions and 19 deletions

View File

@@ -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
})
})