diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 41658c63..3ca05a37 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -162,6 +162,7 @@ const columns: Column[] = [ cellRenderer: ({ rowData }) => { return h( 'div', + {}, [ hasPermission(['system:menu:update']) && h( @@ -171,7 +172,7 @@ const columns: Column[] = [ type: 'primary', onClick: () => openForm('update', rowData.id) }, - '修改' + () => '修改' ), hasPermission(['system:menu:create']) && h( @@ -181,7 +182,7 @@ const columns: Column[] = [ type: 'primary', onClick: () => openForm('create', undefined, rowData.id) }, - '新增' + () => '新增' ), hasPermission(['system:menu:delete']) && h( @@ -191,7 +192,7 @@ const columns: Column[] = [ type: 'danger', onClick: () => handleDelete(rowData.id) }, - '删除' + () => '删除' ) ].filter(Boolean) )