Skip to content

Commit 3f99573

Browse files
authored
Merge pull request #834 from hosea3000/edit-no-confirm
点击编辑的时候不需要弹框确认,交互不太友好
2 parents b65b74d + 98cf3ad commit 3f99573

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

template/v4/vue.go.template

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,15 @@
118118
{{- end }}
119119
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
120120
<template slot-scope="scope">
121-
<el-popconfirm
122-
class="delete-popconfirm"
123-
title="确认要修改吗?"
124-
confirm-button-text="修改"
125-
@confirm="handleUpdate(scope.row)"
126-
>
127-
<el-button
121+
<el-button
128122
slot="reference"
129123
v-permisaction="['{{.PackageName}}:{{.BusinessName}}:edit']"
130124
size="mini"
131125
type="text"
132126
icon="el-icon-edit"
127+
@click="handleUpdate(scope.row)"
133128
>修改
134129
</el-button>
135-
</el-popconfirm>
136130
<el-popconfirm
137131
class="delete-popconfirm"
138132
title="确认要删除吗?"

0 commit comments

Comments
 (0)