Browse Source

增加表格内icon

main
QM303176530 5 years ago
parent
commit
ee57e787ae
  1. 3
      web/src/view/superAdmin/menu/menu.vue

3
web/src/view/superAdmin/menu/menu.vue

@ -71,7 +71,7 @@
<el-input autocomplete="off" v-model="form.meta.title"></el-input>
</el-form-item>
<el-form-item label="图标" prop="meta.icon" style="width:30%">
<icon :icon="icon">
<icon :meta="form.meta">
<template slot="prepend" >el-icon-</template>
</icon>
</el-form-item>
@ -290,7 +290,6 @@ export default {
this.dialogTitle = "编辑菜单";
const res = await getBaseMenuById({ id });
this.form = res.data.menu;
this.icon = this.form.meta;
this.isEdit = true;
this.setOptions();
this.dialogFormVisible = true;

Loading…
Cancel
Save