Showing
1 changed file
with
4 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-30 13:55:36 | 4 | + * @LastEditTime: 2024-07-30 14:42:11 |
| 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue |
| 6 | * @Description: 树形组件 | 6 | * @Description: 树形组件 |
| 7 | --> | 7 | --> |
| ... | @@ -200,12 +200,12 @@ | ... | @@ -200,12 +200,12 @@ |
| 200 | shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;"> | 200 | shape="square" icon-size="13px" :checked-color="styleColor.baseColor" style="margin-bottom: 0.5rem;"> |
| 201 | <div class="van-ellipsis" :style="{ maxWidth: maxWidth + 'px' }"> | 201 | <div class="van-ellipsis" :style="{ maxWidth: maxWidth + 'px' }"> |
| 202 | <span>{{ user.name }}</span> | 202 | <span>{{ user.name }}</span> |
| 203 | - <span v-if="user?.dept_list.length">/ | ||
| 204 | - <span v-for="(dept, index) in user?.dept_list" :key="dept.id">{{ dept.name }} </span> | ||
| 205 | - </span> | ||
| 206 | <span v-if="user.role_list.length">/ | 203 | <span v-if="user.role_list.length">/ |
| 207 | <span v-for="(role, index) in user?.role_list" :key="role.id">{{ role.name }} </span> | 204 | <span v-for="(role, index) in user?.role_list" :key="role.id">{{ role.name }} </span> |
| 208 | </span> | 205 | </span> |
| 206 | + <span v-if="user?.dept_list.length">/ | ||
| 207 | + <span v-for="(dept, index) in user?.dept_list" :key="dept.id">{{ dept.name }} </span> | ||
| 208 | + </span> | ||
| 209 | </div> | 209 | </div> |
| 210 | </van-checkbox> | 210 | </van-checkbox> |
| 211 | <div v-if="!user_dept_role.user.length" style="color: #999;">暂无数据</div> | 211 | <div v-if="!user_dept_role.user.length" style="color: #999;">暂无数据</div> | ... | ... |
-
Please register or login to post a comment