瀏覽代碼

修复老师分享活动

1
mo 2 年之前
父節點
當前提交
2453a622bd
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/student/share-active/track-review-activity/index.tsx

+ 9 - 3
src/student/share-active/track-review-activity/index.tsx

@@ -56,9 +56,9 @@ export default defineComponent({
 
     // 判断是否在内容打开页面
     if (!browser().isApp) {
-      this.popupStatus = true
-      removeAuth()
-      return
+      // this.popupStatus = true
+      // removeAuth()
+      // return
     } else if (state.platformType === 'TEACHER') {
       this.onBackDialog('请使用酷乐秀学生端扫码打开')
       return
@@ -137,6 +137,12 @@ export default defineComponent({
       })
     },
     async onJoinActve() {
+      if (!browser().isApp) {
+        this.popupStatus = true
+        removeAuth()
+        return
+      }
+
       const activeInfo = this.activeInfo
       try {
         if (!this.checkActivityTime()) {