This commit is contained in:
X1627315083@163.com
2026-04-10 14:40:48 +08:00
parent 5e77348913
commit 3b70ed2830
11 changed files with 1039 additions and 43 deletions

View File

@@ -21,6 +21,7 @@
import { ref, computed } from "vue"
import { useRoute, useRouter } from "vue-router"
import toolTipBox from "./toolTipBox.vue"
import myEvent from "@/tool/myEvents.js"
const route = useRoute()
const router = useRouter()
const visible = ref(false)
@@ -51,6 +52,14 @@
if (path === activePath.value) return
router.push(path)
}
onMounted(()=>{
myEvent.add('newListing',()=>{
visible.value = true
})
})
onUnmounted(()=>{
myEvent.remove('newListing')
})
</script>
<style scoped lang="less">
.seller-dashboard-index {