fix(系统设置):插件管理页面权限配置
This commit is contained in:
parent
17381f701d
commit
c532d06de7
|
@ -810,7 +810,7 @@
|
||||||
"resourceId": "SYSTEM_PLUGIN"
|
"resourceId": "SYSTEM_PLUGIN"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "SYSTEM_PLUGIN:VIEW",
|
"id": "SYSTEM_PLUGIN:READ",
|
||||||
"name": "查看脚本",
|
"name": "查看脚本",
|
||||||
"resourceId": "SYSTEM_PLUGIN"
|
"resourceId": "SYSTEM_PLUGIN"
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<ms-table-operator-button
|
<ms-table-operator-button
|
||||||
:tip="$t('plugin.script_view')"
|
:tip="$t('plugin.script_view')"
|
||||||
icon="el-icon-view"
|
icon="el-icon-view"
|
||||||
@exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:VIEW']"/>
|
@exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:READ']"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
@ -110,7 +110,7 @@ export default {
|
||||||
{
|
{
|
||||||
path: 'plugin',
|
path: 'plugin',
|
||||||
component: () => import('@/business/components/settings/plugin/PluginConfig'),
|
component: () => import('@/business/components/settings/plugin/PluginConfig'),
|
||||||
meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_USER:READ']}
|
meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_PLUGIN:READ']}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue