mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 20:11:27 +08:00
【更新】修复代码生成
This commit is contained in:
4
main.go
4
main.go
@@ -36,9 +36,9 @@ var rootCmd = &cobra.Command{
|
|||||||
},
|
},
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
restfulx.UseAfterHandlerInterceptor(middleware.OperationHandler)
|
restfulx.UseAfterHandlerInterceptor(middleware.OperationHandler)
|
||||||
// gin前置 函数
|
// 前置 函数
|
||||||
restfulx.UseBeforeHandlerInterceptor(restfulx.PermissionHandler)
|
restfulx.UseBeforeHandlerInterceptor(restfulx.PermissionHandler)
|
||||||
// gin后置 函数
|
// 后置 函数
|
||||||
restfulx.UseAfterHandlerInterceptor(restfulx.LogHandler)
|
restfulx.UseAfterHandlerInterceptor(restfulx.LogHandler)
|
||||||
go func() {
|
go func() {
|
||||||
// 启动系统调度任务
|
// 启动系统调度任务
|
||||||
|
|||||||
@@ -108,16 +108,21 @@
|
|||||||
class-name="small-padding fixed-width"
|
class-name="small-padding fixed-width"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-popover placement="left">
|
||||||
text type="primary"
|
<template #reference>
|
||||||
v-auth="'{{.PackageName}}:{{.BusinessName}}:edit'"
|
<el-button type="primary" circle ><SvgIcon name="elementStar"/></el-button>
|
||||||
@click="onOpenEditModule(scope.row)"
|
</template>
|
||||||
><SvgIcon name="elementEdit" />修改</el-button>
|
<div>
|
||||||
<el-button
|
<el-button text type="primary" v-auth="'{{.PackageName}}:{{.BusinessName}}:edit'" @click="onOpenEditModule(scope.row)">
|
||||||
text type="primary"
|
<SvgIcon name="elementEdit" />修改
|
||||||
v-auth="'{{.PackageName}}:{{.BusinessName}}:delete'"
|
</el-button>
|
||||||
@click="onTabelRowDel(scope.row)"
|
</div>
|
||||||
><SvgIcon name="elementDelete" />删除</el-button>
|
<div>
|
||||||
|
<el-button text type="primary" v-auth="'{{.PackageName}}:{{.BusinessName}}:delete'" @click="onTabelRowDel(scope.row)">
|
||||||
|
<SvgIcon name="elementDelete" />删除
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
|
</el-popover>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user