修改小程序bug

This commit is contained in:
邓洁
2023-02-28 00:55:26 +08:00
parent 077801fd6f
commit 960e8848f9
2 changed files with 6 additions and 4 deletions

View File

@@ -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: {

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