修改
This commit is contained in:
parent
a1db8818c3
commit
65d43d4f5e
@ -118,6 +118,7 @@
|
||||
<el-table
|
||||
:data="props.row.selectSubordinateItemlist"
|
||||
style="width: 100%; padding-left: 120px"
|
||||
:header-cell-style="{background:'#fff',color:'#606266'}"
|
||||
>
|
||||
<el-table-column
|
||||
prop="trainingParentName"
|
||||
@ -1345,6 +1346,7 @@ export default {
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listTrainingItem(this.queryParams).then((response) => {
|
||||
console.log(response)
|
||||
response.rows.forEach((e) => {
|
||||
e.selectSubordinateItemlist = []; // 先给一个空值
|
||||
e.expand = false; // 表示当前行是闭合的,不设置这个等下展开后就没法闭合了
|
||||
|
||||
Loading…
Reference in New Issue
Block a user