mirror of https://github.com/halo-dev/halo-admin
菜单支持多级
parent
f77640006e
commit
b035e20c21
|
@ -17,8 +17,8 @@
|
||||||
<a-input v-model="menuToCreate.url" />
|
<a-input v-model="menuToCreate.url" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="上级菜单:">
|
<a-form-item label="上级菜单:">
|
||||||
<a-select>
|
<a-select v-model="menuToCreate.parentId">
|
||||||
<a-select-option value="1">上级菜单</a-select-option>
|
<a-select-option v-for="(menu,index) in menus" :key="index" :value="menu.id">{{ menu.name }}</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="排序编号:">
|
<a-form-item label="排序编号:">
|
||||||
|
|
Loading…
Reference in New Issue