remove useless code

This commit is contained in:
yangqianjuan 2024-01-18 18:18:48 +08:00
parent 070ab179c9
commit e130d49dfd
2 changed files with 0 additions and 5 deletions

View file

@ -48,10 +48,6 @@ const Index: React.FC<kFProps> = ({ chunkModel, dispatch, getChunkList, doc_id }
const handleOk = async () => {
try {
const values = await form.validateFields();
// let url = 'chunkModel/create_hunk'
// if(chunk_id){
// url='chunkModel/create_hunk'
// }
dispatch({
type: 'chunkModel/create_hunk',
payload: {

View file

@ -1,7 +1,6 @@
import { extend } from 'umi-request';
import { notification, message } from 'antd';
import _ from 'lodash';
import api from '@/utils/api';
const { login } = api;