大赛训练产品调整new
This commit is contained in:
parent
b1766b0ac5
commit
d105130eae
@ -8,7 +8,7 @@
|
|||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
:highlight-current="false"
|
:highlight-current="false"
|
||||||
style="background-color: transparent;max-height: calc(100% - 54px);overflow-y: scroll;"
|
style="background-color: transparent;max-height: calc(100% - 54px);overflow-y: auto;"
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
>
|
>
|
||||||
<div slot-scope="{ node, data }" class="custom-tree-node">
|
<div slot-scope="{ node, data }" class="custom-tree-node">
|
||||||
@ -163,6 +163,9 @@ export default {
|
|||||||
this.eachTask(this.taskList, this.taskData);
|
this.eachTask(this.taskList, this.taskData);
|
||||||
this.nowKey = 0;
|
this.nowKey = 0;
|
||||||
this.nowData = this.taskList[this.nowKey];
|
this.nowData = this.taskList[this.nowKey];
|
||||||
|
getTaskTree(this.$route.query.paperId, this.$route.query.moduleId).then(resp => {
|
||||||
|
|
||||||
|
}).catch(() => this.$message.error('加载数据失败!'));
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleChange(data, node) {
|
handleChange(data, node) {
|
||||||
|
Loading…
Reference in New Issue
Block a user