Эх сурвалжийг харах

Merge remote-tracking branch 'origin/demo_' into demo_

3254194295 2 жил өмнө
parent
commit
dcef3b6ccb

+ 2 - 1
src/views/account/settings/page/modules/AvatarModal.vue

@@ -82,12 +82,13 @@ export default {
         fileName: ''
       },
       previews: {
-        url: this.$store.getters.avatar
+        url: this.BaseTool.Constant.FILE_URL + this.$store.getters.avatar
       }
     }
   },
   methods: {
     edit (id) {
+      this.options.img = this.previews.url
       this.visible = true
       this.id = id
       /* 获取原始头像 */