feat(前端):error_code

master
shaot 2025-08-11 09:33:27 +08:00
parent 9fb05a44cb
commit 67bc687d0a
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
import { ERROR_CODE,IMAGES_TYPE_MAP } from '@/constants/images.constants';
import { IMAGES_TYPE_MAP } from '@/constants/images.constants';
import { ERROR_CODE } from '@/constants/constants';
import { getImagesList } from '@/services/images';
import { Input, Table, message,Tooltip } from 'antd';
import type { ColumnsType } from 'antd/es/table';

View File

@ -1,6 +1,6 @@
// index.tsx
import { DEVICE_TYPE_OPTIONS } from '@/constants/constants';
import { ERROR_CODE } from '@/constants/images.constants';
import { DEVICE_TYPE_OPTIONS,ERROR_CODE } from '@/constants/constants';
import { } from '@/constants/constants';
import { saveDevice } from '@/services/terminal';
import { Button, Form, Input, message, Modal, Select, TreeSelect } from 'antd';
import React, { useEffect } from 'react';
@ -8,7 +8,7 @@ import React, { useEffect } from 'react';
interface UserEditModalProps {
orgTreeData: User.OrganizationNode[];
onCancel: () => void;
onOk: (values: any) => void;
onOk?: (values: any) => void;
confirmLoading?: boolean;
currentUserInfo?: Termial.ModalBaseNode;
selectedOrg?: number;