Commit 4ce88db2 by 前端

放开名片线索功能

1 parent 5e0cf9f1
......@@ -110,9 +110,8 @@ Page({
const {phone} = wx.$storage.get('aicard_user_info')
console.log(this.data.cardInfo.staffPhone, phone);
if (this.data.cardInfo.staffPhone === phone) {
// wx.$storage.set('isStaff', 'true')
this.setData({
// isStaff: true,
isStaff: true,
phoneNumber: phone
})
}
......@@ -296,9 +295,8 @@ Page({
console.log(this.data.isStaff,this.data.cardInfo);
if (!this.data.isStaff && this.data.cardInfo) {
if (this.data.cardInfo.staffPhone === this.data.phoneNumber) {
// wx.$storage.set('isStaff', 'true')
this.setData({
// isStaff: true
isStaff: true
})
}
}
......@@ -498,9 +496,8 @@ Page({
)
console.log(cardInfo.staffPhone,this.data.phoneNumber);
if (cardInfo.staffPhone === this.data.phoneNumber) {
// wx.$storage.set('isStaff', 'true')
this.setData({
// isStaff: true
isStaff: true
})
}
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!