♻️ refactor(helpers): refactor the components/utils.js to helpers/api.js and related imports

This commit is contained in:
Apple\Apple
2025-06-04 00:11:06 +08:00
parent b0a145fd5b
commit a92373c78c
5 changed files with 82 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ import {
Card,
Tag,
} from '@douyinfe/semi-ui';
import { getChannelModels } from '../../components/utils.js';
import { getChannelModels } from '../../helpers';
import {
IconSave,
IconClose,

View File

@@ -27,7 +27,7 @@ import {
IconUser,
IconCode,
} from '@douyinfe/semi-icons';
import { getChannelModels } from '../../components/utils.js';
import { getChannelModels } from '../../helpers';
import { useTranslation } from 'react-i18next';
const { Text, Title } = Typography;