|
|
@@ -37,6 +37,12 @@ const isShowTab = ref(false)
|
|
|
const goodsId = ref()
|
|
|
onLoad((option: any) => {
|
|
|
goodsId.value = option.id
|
|
|
+ if (getCurrentPages().length === 1) {
|
|
|
+ const urls = decodeURIComponent(option.q)
|
|
|
+ const id = urls.split('?id=')[1]
|
|
|
+ goodsId.value = id
|
|
|
+ }
|
|
|
+
|
|
|
getGoodsDetaile()
|
|
|
})
|
|
|
|