feat:权限(除role的相关按钮外)
This commit is contained in:
@@ -5,6 +5,7 @@ export const staticMenus = {
|
||||
title: i18n.t('overall.config'),
|
||||
menu: [
|
||||
{route: '/account', name: i18n.t('config.account.account')},
|
||||
{route: '/roles', name: i18n.t('config.roles.roles')},
|
||||
{route: '/promServer', name: i18n.t('config.promServer.promServerList')},
|
||||
{route: '/dc', name: i18n.t('config.dc.dc')},
|
||||
{route: '/model', name: i18n.t('config.model.model')},
|
||||
|
||||
@@ -72,7 +72,9 @@ export const clickoutside = {
|
||||
if (binding.arg) {
|
||||
binding.value(e, binding.arg);
|
||||
} else {
|
||||
binding.value(e);
|
||||
if(binding.value){
|
||||
binding.value(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user