修改小程序bug
This commit is contained in:
@@ -49,6 +49,11 @@
|
||||
if (option.ask == 1) {
|
||||
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
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleSureClick() {
|
||||
@@ -69,7 +74,7 @@
|
||||
if (name && phone) {
|
||||
console.log('数据已完善');
|
||||
this.$apiServe.bindComponyAndUpdate({
|
||||
uid: 1,
|
||||
uid: uni.getStorageSync('user_id'),
|
||||
type: 2,
|
||||
companyName: name,
|
||||
companyPhone: phone
|
||||
|
||||
Reference in New Issue
Block a user