We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e58cf25 commit cec6f16Copy full SHA for cec6f16
web/src/view/superAdmin/menu/menu.vue
@@ -71,7 +71,7 @@
71
<el-input autocomplete="off" v-model="form.meta.title"></el-input>
72
</el-form-item>
73
<el-form-item label="图标" prop="meta.icon" style="width:30%">
74
- <icon :icon="icon">
+ <icon :meta="form.meta">
75
<template slot="prepend" >el-icon-</template>
76
</icon>
77
@@ -290,7 +290,6 @@ export default {
290
this.dialogTitle = "编辑菜单";
291
const res = await getBaseMenuById({ id });
292
this.form = res.data.menu;
293
- this.icon = this.form.meta;
294
this.isEdit = true;
295
this.setOptions();
296
this.dialogFormVisible = true;
0 commit comments