Explorar o código

career video play page error fixed

hare8999@163.com %!s(int64=2) %!d(string=hai) anos
pai
achega
aa87d7f349
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/views/career/plan/detail.vue

+ 3 - 1
src/views/career/plan/detail.vue

@@ -76,6 +76,8 @@ export default {
 
     this.aliIdType = this.routeParams.aliIdType;
     this.videoId = this.routeParams.aliid;
+
+    this.$nextTick(()=> this.$refs.treeBox.setCurrentNode(this.routeParams))
   },
   methods: {
     handle() {
@@ -85,7 +87,7 @@ export default {
       if (node.children && node.children.length) {
         return;
       }
-      this.checkNode = data;
+      this.checkNode = node;
     },
   },
 };