Commit 1a56e718 by zhaochengxiang

刷新

parent 9f1a1233
import React, { useState, useEffect } from "react";
import { Modal, Space, Button, Form, Tabs, Checkbox } from "antd";
import LocalStorage from 'local-storage';
import ImportAction from "./ImportAction";
import { inheritanceHistoricalType, inheritanceZipperType } from "./ImportActionInherited";
......@@ -85,6 +86,10 @@ const FC = (props) => {
callback: data => {
setConfirmLoading(false);
reset();
LocalStorage.set('modelId', data.id||'');
LocalStorage.set('modelChange', !(LocalStorage.get('modelChange')||false));
onCancel?.(true);
},
error: () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment