fix: tsc error
This commit is contained in:
parent
ab633af627
commit
c406e5eb8b
@ -1,8 +1,8 @@
|
||||
import { Checkbox, message, Table } from 'antd';
|
||||
import React, { useState } from 'react';
|
||||
import { useMenuItems } from '.';
|
||||
import { useAPIClient, useRequest } from '../../api-client';
|
||||
import { useRecord } from '../../record-provider';
|
||||
import { useMenuItems } from './RoleTable';
|
||||
|
||||
const findUids = (items) => {
|
||||
if (!Array.isArray(items)) {
|
||||
|
@ -4,8 +4,8 @@ import { connect, useField, useForm } from '@formily/react';
|
||||
import { Checkbox, Table, Tag } from 'antd';
|
||||
import React, { createContext } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAvailableActions } from '.';
|
||||
import { useCollectionManager, useCompile, useRecord } from '../..';
|
||||
import { useAvailableActions } from './RoleTable';
|
||||
import { ScopeSelect } from './ScopeSelect';
|
||||
|
||||
const toActionMap = (arr: any[]) => {
|
||||
|
@ -3,8 +3,8 @@ import { connect, useField } from '@formily/react';
|
||||
import { Checkbox, Select, Table, Tag } from 'antd';
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useAvailableActions } from '.';
|
||||
import { useCompile } from '../..';
|
||||
import { useAvailableActions } from './RoleTable';
|
||||
|
||||
const toScopes = (value) => {
|
||||
if (!value) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
export * from './MenuConfigure';
|
||||
export * from './RoleConfigure';
|
||||
export * from './RolesResourcesActions';
|
||||
export * from './RoleTable';
|
||||
export * from './StrategyActions';
|
||||
export { MenuConfigure } from './MenuConfigure';
|
||||
export { RoleConfigure } from './RoleConfigure';
|
||||
export { RolesResourcesActions } from './RolesResourcesActions';
|
||||
export { RoleTable } from './RoleTable';
|
||||
export { StrategyActions } from './StrategyActions';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user