🎈 perf:优化图标选择弹窗宽度

pull/505/head
preschooler 2024-08-21 15:12:14 +08:00
parent 1c9d40fc54
commit a4d19cc085
2 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ watch(
placement: 'auto' placement: 'auto'
}" }"
:visible="visible" :visible="visible"
:width="350" :width="355"
popper-class="pure-popper" popper-class="pure-popper"
trigger="click" trigger="click"
> >
@ -147,7 +147,7 @@ watch(
> >
<ElDivider border-style="dashed" class="tab-divider" /> <ElDivider border-style="dashed" class="tab-divider" />
<ElScrollbar height="220px"> <ElScrollbar height="220px">
<ul class="ml-2 flex flex-wrap px-2"> <ul class="ml-2 flex flex-wrap">
<li <li
v-for="(item, key) in pageList" v-for="(item, key) in pageList"
:key="key" :key="key"
@ -171,7 +171,7 @@ watch(
background background
class="h-10 flex items-center justify-center" class="h-10 flex items-center justify-center"
layout="prev, pager, next" layout="prev, pager, next"
small size="small"
@current-change="onCurrentChange" @current-change="onCurrentChange"
/> />
</ElPopover> </ElPopover>

View File

@ -25,7 +25,7 @@
<el-radio-button <el-radio-button
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_MENU_TYPE)" v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_MENU_TYPE)"
:key="dict.label" :key="dict.label"
:label="dict.value" :value="dict.value"
> >
{{ dict.label }} {{ dict.label }}
</el-radio-button> </el-radio-button>