panhui %!s(int64=4) %!d(string=hai) anos
pai
achega
00070beab2
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  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: {
     components: {
         vueQrcode
         vueQrcode
     },
     },
-    mounted() {},
+    watch: {
+        info() {
+            this.$nextTick(() => {
+                this.getImgBase64(this.banners, 'detailImg');
+                this.getImgBase64(this.info.minterAvatar, 'userImg');
+            });
+        }
+    },
     methods: {
     methods: {
         init() {
         init() {
             this.show = true;
             this.show = true;