Browse Source

优先转存

panhui 4 years ago
parent
commit
00070beab2
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/main/nine-space/src/components/Post.vue

+ 8 - 1
src/main/nine-space/src/components/Post.vue

@@ -92,7 +92,14 @@ export default {
     components: {
         vueQrcode
     },
-    mounted() {},
+    watch: {
+        info() {
+            this.$nextTick(() => {
+                this.getImgBase64(this.banners, 'detailImg');
+                this.getImgBase64(this.info.minterAvatar, 'userImg');
+            });
+        }
+    },
     methods: {
         init() {
             this.show = true;