修改小程序bug
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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
|
||||||
//授权登录拦截
|
//授权登录拦截
|
||||||
|
|||||||
Reference in New Issue
Block a user