明树Git Lab

Commit bc902bc7 authored by yangyajing's avatar yangyajing

新增菜单

parent b5720d31
Pipeline #106884 passed with stage
in 19 seconds
<template> <template>
<div class="system-manage-container menu-manage" v-loading="loading"> <div class="system-manage-container menu-manage" v-loading="loading">
<div class="system-manage-header">
<div class="header-left"></div>
<div class="header-right">
<el-form>
<el-form-item>
<el-button type="primary" @click="handleAdd">新增菜单</el-button>
</el-form-item>
</el-form>
</div>
</div>
<div class="system-manage-content manage-content"> <div class="system-manage-content manage-content">
<common-table <common-table
:data="tableData" :data="tableData"
...@@ -11,10 +21,6 @@ ...@@ -11,10 +21,6 @@
row-key="id" row-key="id"
default-expand-all default-expand-all
> >
<template #header-actions>
<el-button type="primary" @click="handleAdd">新增 </el-button>
</template>
<template #operations="{ row, index }"> <template #operations="{ row, index }">
<el-button v-if="!row.url" link type="primary" size="small" @click="addChildMenu(row, index)"> 新增子菜单 </el-button> <el-button v-if="!row.url" link type="primary" size="small" @click="addChildMenu(row, index)"> 新增子菜单 </el-button>
<el-button link type="primary" size="small" @click="handleEdit(row, index)"> <el-button link type="primary" size="small" @click="handleEdit(row, index)">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment