|
@@ -74,7 +74,8 @@
|
|
|
import * as httpApi from "@/api/chanpinZiRanPinDu.js"
|
|
import * as httpApi from "@/api/chanpinZiRanPinDu.js"
|
|
|
import {
|
|
import {
|
|
|
reactive,
|
|
reactive,
|
|
|
- ref
|
|
|
|
|
|
|
+ ref,
|
|
|
|
|
+ onUnmounted
|
|
|
} from "vue"
|
|
} from "vue"
|
|
|
import {
|
|
import {
|
|
|
onLoad
|
|
onLoad
|
|
@@ -120,6 +121,9 @@
|
|
|
uniAnsRef.value.showPopup();
|
|
uniAnsRef.value.showPopup();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ onUnmounted(() => {
|
|
|
|
|
+ uni.$emit('back-outpage')
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
onLoad(() => {
|
|
onLoad(() => {
|
|
|
uni.$on('tiankong-fillItem', (val) => {
|
|
uni.$on('tiankong-fillItem', (val) => {
|
|
@@ -161,7 +165,6 @@
|
|
|
uni.switchTab({
|
|
uni.switchTab({
|
|
|
url: "/pages/chanpinneirong/index"
|
|
url: "/pages/chanpinneirong/index"
|
|
|
})
|
|
})
|
|
|
- uni.$emit('back-outpage')
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function onSwiperChange(index) {
|
|
function onSwiperChange(index) {
|