feat:等保
4. handleAuth: MenuProps 的引用key 处理 遗漏
This commit is contained in:
@ -118,6 +118,7 @@
|
||||
import { Switch, Modal } from 'ant-design-vue';
|
||||
import { PageWrapper } from '/@/components/Page';
|
||||
import { useModal } from '/@/components/Modal';
|
||||
import type { MenuProps } from 'ant-design-vue';
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
const { t } = useI18n();
|
||||
export const columns: BasicColumn[] = [
|
||||
@ -274,14 +275,14 @@
|
||||
id: res.id,
|
||||
});
|
||||
}
|
||||
function handleAuth() {
|
||||
const handleAuth: MenuProps['onClick'] = e => {
|
||||
let res = warning(true);
|
||||
if (!res) {
|
||||
return;
|
||||
}
|
||||
|
||||
openRoleUserModal(true, {
|
||||
id: res.id,
|
||||
key: e.key,
|
||||
});
|
||||
}
|
||||
function handleAppAuth() {
|
||||
|
||||
Reference in New Issue
Block a user