浏览代码

career video play page error fixed

hare8999@163.com 2 年之前
父节点
当前提交
aa87d7f349
共有 1 个文件被更改,包括 3 次插入1 次删除
  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;
     },
   },
 };