Explorar o código

Update index.tsx

lex %!s(int64=2) %!d(string=hai) anos
pai
achega
0533959357
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/student/home/index.tsx

+ 4 - 4
src/student/home/index.tsx

@@ -179,14 +179,14 @@ export default defineComponent({
             this.headerHeight = height
           }}
           onCart={() => {
-            this.downloadStatus = true
+            event.emit('downloadApp')
           }}
           onSearch={() => {
             // 搜索详情
-            this.downloadStatus = true
+            event.emit('downloadApp')
           }}
           onMore={() => {
-            this.downloadStatus = true
+            event.emit('downloadApp')
           }}
         />
 
@@ -207,7 +207,7 @@ export default defineComponent({
                     //     window.location.href = item.linkUrl
                     //   })
                     // }
-                    this.downloadStatus = true
+                    event.emit('downloadApp')
                   }}
                 >
                   <Image