选择线稿图后下一步
This commit is contained in:
@@ -5,6 +5,7 @@ import sellerToolTipImg2 from '@/assets/images/seller/sellerToolTip-2.png'
|
||||
import sellerToolTipImg3 from '@/assets/images/seller/sellerToolTip-3.png'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { Https } from '@/tool/https'
|
||||
const props = defineProps({
|
||||
visible: {
|
||||
type: Boolean,
|
||||
@@ -38,6 +39,8 @@ let data = reactive({
|
||||
showAgain: false,
|
||||
})
|
||||
let toolTipBoxRef = ref(null)
|
||||
const routerPath = ref('')
|
||||
|
||||
|
||||
const cleardata = ()=>{
|
||||
emit('update:visible', false)
|
||||
@@ -45,8 +48,9 @@ const cleardata = ()=>{
|
||||
}
|
||||
|
||||
const getStarted = ()=>{
|
||||
if(data.showAgain){Https.axiosPost(Https.httpUrls.setListingPopup)}
|
||||
emit('update:visible', false)
|
||||
router.push({path:'/home/seller/myListings/select'})
|
||||
router.push({path:routerPath.value})
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +58,7 @@ onMounted(()=>{
|
||||
})
|
||||
onUnmounted(()=>{
|
||||
})
|
||||
defineExpose({})
|
||||
defineExpose({routerPath})
|
||||
const { showAgain } = toRefs(data);
|
||||
</script>
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user