remove useless code
This commit is contained in:
parent
070ab179c9
commit
e130d49dfd
2 changed files with 0 additions and 5 deletions
|
|
@ -48,10 +48,6 @@ const Index: React.FC<kFProps> = ({ chunkModel, dispatch, getChunkList, doc_id }
|
||||||
const handleOk = async () => {
|
const handleOk = async () => {
|
||||||
try {
|
try {
|
||||||
const values = await form.validateFields();
|
const values = await form.validateFields();
|
||||||
// let url = 'chunkModel/create_hunk'
|
|
||||||
// if(chunk_id){
|
|
||||||
// url='chunkModel/create_hunk'
|
|
||||||
// }
|
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'chunkModel/create_hunk',
|
type: 'chunkModel/create_hunk',
|
||||||
payload: {
|
payload: {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
import { extend } from 'umi-request';
|
import { extend } from 'umi-request';
|
||||||
import { notification, message } from 'antd';
|
import { notification, message } from 'antd';
|
||||||
import _ from 'lodash';
|
|
||||||
|
|
||||||
import api from '@/utils/api';
|
import api from '@/utils/api';
|
||||||
const { login } = api;
|
const { login } = api;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue