Commit 55798af2 by 前端

Merge branch 'v3.5.1' into 'master'

放开名片线索功能

See merge request !18
2 parents 5e0cf9f1 4ce88db2
...@@ -110,9 +110,8 @@ Page({ ...@@ -110,9 +110,8 @@ Page({
const {phone} = wx.$storage.get('aicard_user_info') const {phone} = wx.$storage.get('aicard_user_info')
console.log(this.data.cardInfo.staffPhone, phone); console.log(this.data.cardInfo.staffPhone, phone);
if (this.data.cardInfo.staffPhone === phone) { if (this.data.cardInfo.staffPhone === phone) {
// wx.$storage.set('isStaff', 'true')
this.setData({ this.setData({
// isStaff: true, isStaff: true,
phoneNumber: phone phoneNumber: phone
}) })
} }
...@@ -296,9 +295,8 @@ Page({ ...@@ -296,9 +295,8 @@ Page({
console.log(this.data.isStaff,this.data.cardInfo); console.log(this.data.isStaff,this.data.cardInfo);
if (!this.data.isStaff && this.data.cardInfo) { if (!this.data.isStaff && this.data.cardInfo) {
if (this.data.cardInfo.staffPhone === this.data.phoneNumber) { if (this.data.cardInfo.staffPhone === this.data.phoneNumber) {
// wx.$storage.set('isStaff', 'true')
this.setData({ this.setData({
// isStaff: true isStaff: true
}) })
} }
} }
...@@ -498,9 +496,8 @@ Page({ ...@@ -498,9 +496,8 @@ Page({
) )
console.log(cardInfo.staffPhone,this.data.phoneNumber); console.log(cardInfo.staffPhone,this.data.phoneNumber);
if (cardInfo.staffPhone === this.data.phoneNumber) { if (cardInfo.staffPhone === this.data.phoneNumber) {
// wx.$storage.set('isStaff', 'true')
this.setData({ 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!