Skip to content

Commit a4d19cc

Browse files
author
preschooler
committed
🎈 perf:优化图标选择弹窗宽度
1 parent 1c9d40f commit a4d19cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Icon/src/IconSelect.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ watch(
122122
placement: 'auto'
123123
}"
124124
:visible="visible"
125-
:width="350"
125+
:width="355"
126126
popper-class="pure-popper"
127127
trigger="click"
128128
>
@@ -147,7 +147,7 @@ watch(
147147
>
148148
<ElDivider border-style="dashed" class="tab-divider" />
149149
<ElScrollbar height="220px">
150-
<ul class="ml-2 flex flex-wrap px-2">
150+
<ul class="ml-2 flex flex-wrap">
151151
<li
152152
v-for="(item, key) in pageList"
153153
:key="key"
@@ -171,7 +171,7 @@ watch(
171171
background
172172
class="h-10 flex items-center justify-center"
173173
layout="prev, pager, next"
174-
small
174+
size="small"
175175
@current-change="onCurrentChange"
176176
/>
177177
</ElPopover>

src/views/system/menu/MenuForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<el-radio-button
2626
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_MENU_TYPE)"
2727
:key="dict.label"
28-
:label="dict.value"
28+
:value="dict.value"
2929
>
3030
{{ dict.label }}
3131
</el-radio-button>

0 commit comments

Comments
 (0)