Skip to content

Commit 5f5ae35

Browse files
committed
【功能修复】system:菜单管理列表,虚拟 table 的告警问题
1 parent 410e257 commit 5f5ae35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/views/system/menu/index.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ const columns: Column[] = [
162162
cellRenderer: ({ rowData }) => {
163163
return h(
164164
'div',
165+
{},
165166
[
166167
hasPermission(['system:menu:update']) &&
167168
h(
@@ -171,7 +172,7 @@ const columns: Column[] = [
171172
type: 'primary',
172173
onClick: () => openForm('update', rowData.id)
173174
},
174-
'修改'
175+
() => '修改'
175176
),
176177
hasPermission(['system:menu:create']) &&
177178
h(
@@ -181,7 +182,7 @@ const columns: Column[] = [
181182
type: 'primary',
182183
onClick: () => openForm('create', undefined, rowData.id)
183184
},
184-
'新增'
185+
() => '新增'
185186
),
186187
hasPermission(['system:menu:delete']) &&
187188
h(
@@ -191,7 +192,7 @@ const columns: Column[] = [
191192
type: 'danger',
192193
onClick: () => handleDelete(rowData.id)
193194
},
194-
'删除'
195+
() => '删除'
195196
)
196197
].filter(Boolean)
197198
)

0 commit comments

Comments
 (0)