修改小程序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,10 +50,12 @@
this.needAsk = option.ask this.needAsk = option.ask
} }
if (uni.getStorageSync('com_name') && uni.getStorageSync('com_mobile')) { 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.name = uni.getStorageSync('com_name')
this.$refs.nameAndphone.model.userInfo.phone = uni.getStorageSync('com_mobile') this.$refs.nameAndphone.model.userInfo.phone = uni.getStorageSync('com_mobile')
this.$refs.nameAndphone.disabled = true this.$refs.nameAndphone.disabled = true
} }
}
}, },
methods: { methods: {
handleSureClick() { handleSureClick() {

View File

@@ -139,7 +139,7 @@
//获取详情信息 //获取详情信息
getProductDetail() { getProductDetail() {
this.$apiServe.getProductDetail(this.id).then(res => { this.$apiServe.getProductDetail(this.id).then(res => {
console.log('产品详情', res.data.data); console.log('产品详情', res.data);
let detail = res.data.data let detail = res.data.data
let dataCode = res.data.code let dataCode = res.data.code
//授权登录拦截 //授权登录拦截