ca5e8fae by 杨威

目录树展开收缩icon判断

1 parent a7009f64
...@@ -77,7 +77,11 @@ ...@@ -77,7 +77,11 @@
77 ></div> 77 ></div>
78 <div 78 <div
79 v-if="item.children==null" 79 v-if="item.children==null"
80 class="reTree_icon reTree_expand_icon" 80 class="reTree_icon"
81 :class="{
82 reTree_default_icon: item.dm != 'G' && item.dm != 'J' && item.dm != 'Z',
83 reTree_expand_icon: item.dm == 'G' || item.dm == 'J' || item.dm == 'Z',
84 }"
81 :style="{ 85 :style="{
82 height: (size || 16 * 1.2) + 'px', 86 height: (size || 16 * 1.2) + 'px',
83 width: (size || 16 * 1.2) + 'px', 87 width: (size || 16 * 1.2) + 'px',
......