This commit is contained in:
魏啾
2024-05-28 15:57:18 +08:00
parent eb99040703
commit c6c2680993

View File

@@ -282,9 +282,6 @@
uni.reLaunch({
url: '/pages/login/login?type=' + 0
});
// uni.pro.navigateTo('login/login', {
// type: 0
// })
}
uni.$on('message', this.getMessage)
this.$nextTick(() => {
@@ -296,9 +293,11 @@
uni.$off('message')
},
onShow() {
if (uni.cache.get('token') && uni.cache.get('tableCode')) {
this.productqueryShopIdByTableCode() //获取shop User id
}
setTimeout(() => {
if (uni.cache.get('token') && uni.cache.get('tableCode')) {
this.productqueryShopIdByTableCode() //获取shop User id
}
}, 1000)
},
methods: {
// 单独获取他的shopUserid