Merge pull request '修改小程序bug' (#103) from dengjie into dev

Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/103
This commit is contained in:
odjbin
2023-02-27 16:56:18 +00:00
2 changed files with 6 additions and 4 deletions

View File

@@ -50,10 +50,12 @@
this.needAsk = option.ask
}
if (uni.getStorageSync('com_name') && uni.getStorageSync('com_mobile')) {
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: {
handleSureClick() {

View File

@@ -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
//授权登录拦截