店铺信息

This commit is contained in:
李志鹏
2026-04-27 10:49:37 +08:00
parent 39c0ee110a
commit 0c140c2896
5 changed files with 104 additions and 48 deletions

View File

@@ -19,10 +19,13 @@
<script setup>
import { Https } from "@/tool/https"
import { ref, computed,onMounted,onUnmounted } from "vue"
import { ref, computed, onMounted, onUnmounted } from "vue"
import { useRoute, useRouter } from "vue-router"
import toolTipBox from "./toolTipBox.vue"
import myEvent from "@/tool/myEvents.js"
import { useStore } from "vuex"
const store = useStore()
store.dispatch("seller/get_designerInfo")
const route = useRoute()
const router = useRouter()
const visible = ref(false)
@@ -53,13 +56,13 @@
if (path === activePath.value) return
router.push(path)
}
onMounted(()=>{
myEvent.add('newListing',()=>{
onMounted(() => {
myEvent.add("newListing", () => {
visible.value = true
})
})
onUnmounted(()=>{
myEvent.remove('newListing')
onUnmounted(() => {
myEvent.remove("newListing")
})
</script>
<style scoped lang="less">