登陆提示

This commit is contained in:
pplokijuhyg 2019-12-24 14:53:06 +08:00
parent 843ba1f20e
commit a10a1b0c08

View File

@ -47,6 +47,14 @@ Page({
// },
bindPickerChange(e) {
console.log(e.detail.value)
if(this.data.userid == 0){
wx.showToast({
title: '请先登陆',
icon: 'none',
duration: 2000
})
return ;
}
request({
url: "Cart/addCart",
data: {