|
@@ -74,7 +74,6 @@ const toolbarConfig: ToolbarConfigType[] = [
|
|
},
|
|
},
|
|
{
|
|
{
|
|
common: 'add',
|
|
common: 'add',
|
|
- permissions: 'sysConfig:add',
|
|
|
|
click() {
|
|
click() {
|
|
dialogVisible.value = true
|
|
dialogVisible.value = true
|
|
dialogTitle.value = '新增'
|
|
dialogTitle.value = '新增'
|
|
@@ -189,7 +188,6 @@ const columnConfig: ColumnConfigType[] = [
|
|
},
|
|
},
|
|
{
|
|
{
|
|
common: 'update',
|
|
common: 'update',
|
|
- permissions: 'sysConfig:edit',
|
|
|
|
if: (row) => row.isPublish === 0,
|
|
if: (row) => row.isPublish === 0,
|
|
click(row) {
|
|
click(row) {
|
|
dialogVisible.value = true
|
|
dialogVisible.value = true
|
|
@@ -204,7 +202,6 @@ const columnConfig: ColumnConfigType[] = [
|
|
},
|
|
},
|
|
{
|
|
{
|
|
common: 'delete',
|
|
common: 'delete',
|
|
- permissions: 'sysConfig:delete',
|
|
|
|
if: (row) => row.isPublish === 0,
|
|
if: (row) => row.isPublish === 0,
|
|
click(row) {
|
|
click(row) {
|
|
handleRemove(row.id)
|
|
handleRemove(row.id)
|