|
@@ -29,7 +29,7 @@
|
|
|
<el-scrollbar :style="scrollbarStyle">
|
|
|
<el-tree show-checkbox
|
|
|
:data="rightTreeData" @check-change="checkChange('rightTree')"
|
|
|
- :props="defaultProps" :expand-on-click-node="false"
|
|
|
+ :props="rightProps?rightProps:defaultProps" :expand-on-click-node="false"
|
|
|
highlight-current node-key="id"
|
|
|
ref="rightTree" :default-expanded-keys="rightExpands">
|
|
|
</el-tree>
|
|
@@ -56,6 +56,12 @@ export default {
|
|
|
showAllCheck:{
|
|
|
type:Boolean,
|
|
|
default:false
|
|
|
+ },
|
|
|
+ rightProps:{
|
|
|
+ type:Object,
|
|
|
+ default: function () {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|