Fix:5174 【商城小程序】游客身份直接点击页面底部【客服】按钮并发送文字后,页面显示空白,且未弹出登录引导提示
(cherry picked from commit 55ed80acbc)
This commit is contained in:
@@ -540,7 +540,7 @@ import {
|
|||||||
getProductSkuBySelected
|
getProductSkuBySelected
|
||||||
} from '@/api/store'
|
} from '@/api/store'
|
||||||
import { userBindParent } from '@/api/user'
|
import { userBindParent } from '@/api/user'
|
||||||
import { handleQrCode, isWeixin } from '@/utils'
|
import { handleLoginFailure, handleQrCode, isWeixin } from '@/utils'
|
||||||
import { getHomeData } from '@/api/public'
|
import { getHomeData } from '@/api/public'
|
||||||
import {
|
import {
|
||||||
getDailyGoods,
|
getDailyGoods,
|
||||||
@@ -878,6 +878,15 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
goRoom() {
|
goRoom() {
|
||||||
|
if (!this.isLogin) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请先登录后联系客服',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
})
|
||||||
|
handleLoginFailure()
|
||||||
|
return
|
||||||
|
}
|
||||||
console.log(this.storeInfo);
|
console.log(this.storeInfo);
|
||||||
const params = {
|
const params = {
|
||||||
goodsId: this.id,
|
goodsId: this.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user