|
@@ -14,7 +14,8 @@
|
|
|
:tree-config="{transform: attrs.transform, rowField: attrs.rowField, parentField: attrs.parentField}"
|
|
|
:row-config="{isHover: true}"
|
|
|
:tooltip-config="{showAll: true}"
|
|
|
- :checkbox-config="{ checkMethod: attrs.checkMethod, visibleMethod: attrs.visibleMethod}">
|
|
|
+ :radio-config="{trigger: attrs.triggerRowCheck}"
|
|
|
+ :checkbox-config="{ checkMethod: attrs.checkMethod, visibleMethod: attrs.visibleMethod,trigger: attrs.triggerRowCheck}">
|
|
|
style="width: 100%">
|
|
|
<vxe-column v-if="attrs.checkbox" type="checkbox" width="50" fixed="left" />
|
|
|
<vxe-column v-if="attrs.radio" type="radio" width="50" fixed="left" />
|
|
@@ -85,6 +86,7 @@
|
|
|
/**
|
|
|
config:{
|
|
|
attr:{
|
|
|
+ triggerRowCheck:'row' //点击行选中
|
|
|
size: medium / small / mini //尺寸
|
|
|
height: '' //高度
|
|
|
maxHeight:'' //最大高度
|