|
@@ -34,6 +34,9 @@
|
|
|
:expandedRowKeys="expandedRowKeys"
|
|
|
:expandRowByClick="true"
|
|
|
:scroll="{ y: tableHeight }">
|
|
|
+ <span slot="expandIcon">
|
|
|
+ 1
|
|
|
+ </span>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a-button
|
|
@@ -129,6 +132,9 @@ export default {
|
|
|
} else {
|
|
|
record.children = this.nowData.children
|
|
|
}
|
|
|
+ if (record.children.length == 0) {
|
|
|
+ this.$message.info('暂无关联下级')
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
// 添加子机成功
|