File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ const columns: Column[] = [
162
162
cellRenderer : ({ rowData }) => {
163
163
return h (
164
164
' div' ,
165
+ {},
165
166
[
166
167
hasPermission ([' system:menu:update' ]) &&
167
168
h (
@@ -171,7 +172,7 @@ const columns: Column[] = [
171
172
type: ' primary' ,
172
173
onClick : () => openForm (' update' , rowData .id )
173
174
},
174
- ' 修改'
175
+ () => ' 修改'
175
176
),
176
177
hasPermission ([' system:menu:create' ]) &&
177
178
h (
@@ -181,7 +182,7 @@ const columns: Column[] = [
181
182
type: ' primary' ,
182
183
onClick : () => openForm (' create' , undefined , rowData .id )
183
184
},
184
- ' 新增'
185
+ () => ' 新增'
185
186
),
186
187
hasPermission ([' system:menu:delete' ]) &&
187
188
h (
@@ -191,7 +192,7 @@ const columns: Column[] = [
191
192
type: ' danger' ,
192
193
onClick : () => handleDelete (rowData .id )
193
194
},
194
- ' 删除'
195
+ () => ' 删除'
195
196
)
196
197
].filter (Boolean )
197
198
)
You can’t perform that action at this time.
0 commit comments