feat: 重构图标选择器组件

Former-commit-id: c47cd1e04c56da514d3649c36a8d15ce890078f4
This commit is contained in:
haoxr
2023-01-14 17:31:28 +08:00
parent 00c52cf5ce
commit ed7afec7c6
6 changed files with 84 additions and 195 deletions

View File

@@ -127,6 +127,7 @@
:title="dialog.title"
v-model="dialog.visible"
@close="cancel"
destroy-on-close
width="750px"
>
<el-form
@@ -469,14 +470,6 @@ function cancel() {
state.dialog.visible = false;
}
/**
* 选择图标后事件
*/
function selected(name: string) {
state.formData.icon = name;
state.iconSelectVisible = false;
}
onMounted(() => {
handleQuery();
});