fix(系统设置):插件管理页面权限配置

This commit is contained in:
fit2-zhao 2021-11-16 15:44:02 +08:00 committed by fit2-zhao
parent 17381f701d
commit c532d06de7
3 changed files with 3 additions and 3 deletions

View File

@ -810,7 +810,7 @@
"resourceId": "SYSTEM_PLUGIN"
},
{
"id": "SYSTEM_PLUGIN:VIEW",
"id": "SYSTEM_PLUGIN:READ",
"name": "查看脚本",
"resourceId": "SYSTEM_PLUGIN"
}

View File

@ -50,7 +50,7 @@
<ms-table-operator-button
:tip="$t('plugin.script_view')"
icon="el-icon-view"
@exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:VIEW']"/>
@exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:READ']"/>
</div>
</template>
</el-table-column>

View File

@ -110,7 +110,7 @@ export default {
{
path: 'plugin',
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']}
},
]
};