【更新】修复代码生成

This commit is contained in:
PandaGoAdmin
2022-08-12 18:02:39 +08:00
parent 6d893f7c4e
commit 039583aaa5
2 changed files with 17 additions and 12 deletions

View File

@@ -36,9 +36,9 @@ var rootCmd = &cobra.Command{
},
Run: func(cmd *cobra.Command, args []string) {
restfulx.UseAfterHandlerInterceptor(middleware.OperationHandler)
// gin前置 函数
// 前置 函数
restfulx.UseBeforeHandlerInterceptor(restfulx.PermissionHandler)
// gin后置 函数
// 后置 函数
restfulx.UseAfterHandlerInterceptor(restfulx.LogHandler)
go func() {
// 启动系统调度任务

View File

@@ -108,16 +108,21 @@
class-name="small-padding fixed-width"
>
<template #default="scope">
<el-button
text type="primary"
v-auth="'{{.PackageName}}:{{.BusinessName}}:edit'"
@click="onOpenEditModule(scope.row)"
><SvgIcon name="elementEdit" />修改</el-button>
<el-button
text type="primary"
v-auth="'{{.PackageName}}:{{.BusinessName}}:delete'"
@click="onTabelRowDel(scope.row)"
><SvgIcon name="elementDelete" />删除</el-button>
<el-popover placement="left">
<template #reference>
<el-button type="primary" circle ><SvgIcon name="elementStar"/></el-button>
</template>
<div>
<el-button text type="primary" v-auth="'{{.PackageName}}:{{.BusinessName}}:edit'" @click="onOpenEditModule(scope.row)">
<SvgIcon name="elementEdit" />修改
</el-button>
</div>
<div>
<el-button text type="primary" v-auth="'{{.PackageName}}:{{.BusinessName}}:delete'" @click="onTabelRowDel(scope.row)">
<SvgIcon name="elementDelete" />删除
</el-button>
</div>
</el-popover>
</template>
</el-table-column>
</el-table>