diff --git a/config.js b/config.js index 8933336..ab5cacc 100644 --- a/config.js +++ b/config.js @@ -26,7 +26,7 @@ const config = { const defaultConfig = { mapKey : 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU', aliOss : { - url : 'https://image.hhlm1688.com', + url : 'https://image.hhlm1688.com/', config : { //桶的地址 region: 'oss-cn-shenzhen', diff --git a/pages/login/index.vue b/pages/login/index.vue index abc5ce6..e9f0514 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -12,8 +12,11 @@ 头像 - @@ -65,6 +68,7 @@ this.nameUser = event.target.value }, onChooseAvatar(res) { + console.log(res); let self = this self.$Oss.ossUpload(res.target.avatarUrl).then(url => { self.imagUrl = url diff --git a/pages/user/index.vue b/pages/user/index.vue index e355e64..b59b0ff 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -1,8 +1,9 @@