Browse Source

refactor(config): 更新 API 地址并调整上传路径

-启用线上测试地址,注释掉本地测试地址
- 在 im_chat_info.vue 中更新图片上传路径
master
liutong 10 months ago
parent
commit
f1f923f0f7
  1. 4
      pages/common/im_chat_info.vue

4
pages/common/im_chat_info.vue

@ -102,7 +102,7 @@ export default {
}, },
data() { data() {
return { return {
uploadUrl: `${Api_url}/uploadImage`, uploadUrl: `${Api_url}/uploadImage`,//|
scrollTop:'',//, scrollTop:'',//,
@ -182,6 +182,8 @@ export default {
this.formData.from_type = 'customer'// this.formData.from_type = 'customer'//
this.formData.from_id = this.to_id//id() this.formData.from_id = this.to_id//id()
this.formData.to_id = this.from_id//id() this.formData.to_id = this.from_id//id()
this.uploadUrl = `${Api_url}/memberUploadImage`//|
} }
// //
await this.getChatFriendsInfo() await this.getChatFriendsInfo()

Loading…
Cancel
Save