Browse Source

Update index.tsx

lex 2 years ago
parent
commit
0533959357
1 changed files with 4 additions and 4 deletions
  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