File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
components/workspace-dropdown
views/system/role/component Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11<template >
2- <el-dropdown placement =" bottom-start" class =" workspace-dropdown" popper-class =" workspace-dropdown-popper" >
2+ <el-dropdown trigger = " click " placement =" bottom-start" class =" workspace-dropdown" popper-class =" workspace-dropdown-popper" >
33 <el-button text style =" font-size : 14px " class =" workspace-dropdown__button" >
44 <AppIcon iconName =" app-workspace" style =" font-size : 18px " ></AppIcon >
55 <span class =" ellipsis" style =" max-width : 155px " :title =" currentWorkspace?.name" >
Original file line number Diff line number Diff line change 88 :placeholder =" model.selectProps?.placeholder ?? $t('common.selectPlaceholder')" :clearable =" model.selectProps?.clearableFunction?model.selectProps?.clearableFunction?.(element): true" filterable
99 multiple style =" width : 100% " collapse-tags collapse-tags-tooltip v-bind =" model.selectProps" >
1010 <el-option v-for =" opt in model.selectProps?.options" :key =" opt.value" :label =" opt.label"
11- :value =" opt.value" :disabled =" opt.disabledFunction?.(element)" />
11+ :value =" opt.value" :disabled =" opt.disabledFunction?.(element)" >
12+ <el-tooltip effect =" dark" :content =" opt.label" placement =" top" :show-after =" 500" >
13+ <div class =" ellipsis" style =" max-width : 190px ;" >{{ opt.label }}</div >
14+ </el-tooltip >
15+ </el-option >
1216 </el-select >
1317 </el-form-item >
1418 <!-- 删除按钮 -->
You can’t perform that action at this time.
0 commit comments