Browse Source

出版

master
jianglong 3 years ago
parent
commit
c8ed6d697a
  1. 14
      bundle/pages/user/complain.vue
  2. 12
      bundle/pages/user_profile/user_profile.vue

14
bundle/pages/user/complain.vue

@ -115,6 +115,8 @@
} = await getComplainCategory()
if (code == 1) {
this.shopCategory = data.lists
this.form.cid = this.shopCategory[0].id
this.form.clabel = this.shopCategory[0].name
}
},
//
@ -128,6 +130,18 @@
image: fileList[0],
content:this.content
}
if (!this.content || this.content == ""){
return this.$toast({
title: '请输入投诉内容',
});
}
if (!this.fileList || this.fileList.length == 0){
return this.$toast({
title: '请输入投诉截图',
});
}
delete submitObj.clabel
const {
data,

12
bundle/pages/user_profile/user_profile.vue

@ -491,15 +491,17 @@ export default {
//
// #ifdef MP-WEIXIN
async getPhoneNumber(e) {
console.log(e, this.code)
const {
encryptedData,
iv
iv,
code
} = e.detail;
console.log(e, code)
const params = {
code: this.code,
encrypted_data: encryptedData,
iv
code: code,
// encrypted_data: encryptedData,
// iv
}
this.fieldType = FieldType.MOBILE
if (encryptedData) {

Loading…
Cancel
Save