Эх сурвалжийг харах

Merge branch 'xqy_topic' into dev

xuqiaoying 3 жил өмнө
parent
commit
682f42f002

+ 7 - 1
pages4/courseTopic/goodsTopic.vue

@@ -141,7 +141,13 @@ export default {
         }
     },
     onLoad(option) {
-        this.topicId = option.topicId
+        if (option.scene) {
+            let tid = decodeURIComponent(option.scene)
+            this.topicId = tid.split('=')[1]
+            console.log('topicId: ', this.topicId)
+        } else {
+            this.topicId = option.topicId
+        }
         this.getgoodsInfo()
     },
     methods: {