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