替换权限标识
This commit is contained in:
@@ -16,6 +16,7 @@ import { parseDateToStr } from '@/utils/date-utils';
|
||||
import useDictStore from '@/store/modules/dict';
|
||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
import { TENANTADMIN_ROLE_KEY } from '@/constants/admin-constants';
|
||||
const { t } = useI18n();
|
||||
const { getDict } = useDictStore();
|
||||
|
||||
@@ -406,7 +407,7 @@ onMounted(() => {
|
||||
<a-input v-model:value="queryParams.title" allow-clear></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8" :md="12" :xs="24" v-roles:has="['administrator']">
|
||||
<a-col :lg="8" :md="12" :xs="24" v-roles:has="[TENANTADMIN_ROLE_KEY]">
|
||||
<a-form-item
|
||||
:label="t('views.system.log.operate.operUser')"
|
||||
name="operName"
|
||||
|
||||
Reference in New Issue
Block a user