菜单管理界面
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
</ku-search-bar>
|
||||
<ku-table :data="tableData" :columns="columns" @list="getTableData()">
|
||||
<template v-slot:ops="{row}">
|
||||
<el-button text v-text="`删除`" @click="handleDelete(row)"/>
|
||||
<el-button text v-text="`添加下级`" @click="addMenu(row)" v-if="row.type<2"/>
|
||||
<el-button text v-text="`编辑`" @click="handleEdit(row)"/>
|
||||
<el-button text v-text="`删除`" @click="handleDelete(row)" type="danger"/>
|
||||
<el-button text v-text="`添加下级`" @click="addMenu(row)" v-if="row.type<2" type="primary"/>
|
||||
<el-button text v-text="`编辑`" @click="handleEdit(row)" type="primary"/>
|
||||
</template>
|
||||
</ku-table>
|
||||
</ku-layout>
|
||||
|
||||
Reference in New Issue
Block a user