Merge pull request '修改小程序bug' (#103) from dengjie into dev
Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/103
This commit is contained in:
@@ -50,9 +50,11 @@
|
||||
this.needAsk = option.ask
|
||||
}
|
||||
if (uni.getStorageSync('com_name') && uni.getStorageSync('com_mobile')) {
|
||||
this.$refs.nameAndphone.model.userInfo.name = uni.getStorageSync('com_name')
|
||||
this.$refs.nameAndphone.model.userInfo.phone = uni.getStorageSync('com_mobile')
|
||||
this.$refs.nameAndphone.disabled = true
|
||||
if (uni.getStorageSync('member') == 3 || uni.getStorageSync('member') == 4) {
|
||||
this.$refs.nameAndphone.model.userInfo.name = uni.getStorageSync('com_name')
|
||||
this.$refs.nameAndphone.model.userInfo.phone = uni.getStorageSync('com_mobile')
|
||||
this.$refs.nameAndphone.disabled = true
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
//获取详情信息
|
||||
getProductDetail() {
|
||||
this.$apiServe.getProductDetail(this.id).then(res => {
|
||||
console.log('产品详情', res.data.data);
|
||||
console.log('产品详情', res.data);
|
||||
let detail = res.data.data
|
||||
let dataCode = res.data.code
|
||||
//授权登录拦截
|
||||
|
||||
Reference in New Issue
Block a user