店铺信息
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user