DESKTOP-2S67K1S\31396 %!s(int64=2) %!d(string=hai) anos
pai
achega
31beececd2
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      src/pages/imusic/index.vue

+ 5 - 3
src/pages/imusic/index.vue

@@ -23,8 +23,10 @@ export default {
       checked: false
     }
   },
-  mounted(e) {
-    this.getDetail(e.id)
+  onLoad(e) {
+    if (e.id) {
+      this.getDetail(e.id)
+    }
   },
   methods: {
     getDetail(e) {
@@ -73,7 +75,7 @@ uni-image {
   content: '';
   display: block;
   height: 232rpx;
-  background: rgba(18,18,18,0.4);
+  background: rgba(18, 18, 18, 0.4);
   backdrop-filter: blur(16rpx);
 }