|
@@ -22,9 +22,6 @@
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
<HcTable :column="tableColumn" :datas="tableData" isCheck @selection-change="tableSelectionChange">
|
|
<HcTable :column="tableColumn" :datas="tableData" isCheck @selection-change="tableSelectionChange">
|
|
- <template #name="{row}">{{ row['name'] }}</template>
|
|
|
|
- <template #text="{row}">{{ row['text'] }}</template>
|
|
|
|
- <template #color="{row}">{{ row['color'] }}</template>
|
|
|
|
<template #action="{row, index}">
|
|
<template #action="{row, index}">
|
|
<el-button size="small" type="primary" @click="eidtModal">编辑</el-button>
|
|
<el-button size="small" type="primary" @click="eidtModal">编辑</el-button>
|
|
<el-button size="small" type="primary" @click="eidtModal">新增子项</el-button>
|
|
<el-button size="small" type="primary" @click="eidtModal">新增子项</el-button>
|
|
@@ -120,7 +117,7 @@ const tableColumn = [
|
|
{key: 'text', name: '是否显示按钮'},
|
|
{key: 'text', name: '是否显示按钮'},
|
|
{key: 'text', name: '排序'},
|
|
{key: 'text', name: '排序'},
|
|
{key: 'text', name: '上级菜单'},
|
|
{key: 'text', name: '上级菜单'},
|
|
- {key: 'action', name: '操作', width: 160}
|
|
|
|
|
|
+ {key: 'action', name: '操作', width: 250}
|
|
|
|
|
|
]
|
|
]
|
|
const tableData = ref([
|
|
const tableData = ref([
|