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