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