Skip to content

Commit 24ddd85

Browse files
committed
fix version
1 parent 4fab298 commit 24ddd85

File tree

22 files changed

+102
-63
lines changed

22 files changed

+102
-63
lines changed

admin-ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"@ant-design/icons": "^5.4.0",
77
"@ant-design/pro-components": "^2.8.7",
88
"@babel/standalone": "^7.25.6",
9-
"@codingapi/flow-pc": "^0.0.36",
10-
"@codingapi/form-pc": "^0.0.36",
11-
"@codingapi/ui-framework": "^0.0.36",
9+
"@codingapi/flow-pc": "^0.0.37",
10+
"@codingapi/form-pc": "^0.0.37",
11+
"@codingapi/ui-framework": "^0.0.37",
1212
"@dnd-kit/core": "^6.2.0",
1313
"@dnd-kit/sortable": "^9.0.0",
1414
"@handsontable/react-wrapper": "^15.0.0",

admin-ui/src/components/flow/PostponedFormView.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ const PostponedFormView:React.FC<PostponedFormProps> = (props)=>{
1313
onCancel: () => {
1414
props.setVisible(false);
1515
},
16-
onClose: () => {
17-
props.setVisible(false);
18-
},
19-
destroyOnClose:true,
16+
destroyOnHidden:true,
2017
}}
2118
onFinish={async (values) => {
2219
props.onFinish(values.hours);

admin-ui/src/components/flow/UserSelectView.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ const UserSelectView: React.FC<UserSelectFormProps> = (props) => {
4343
onCancel: () => {
4444
props.setVisible(false);
4545
},
46-
onClose: () => {
47-
props.setVisible(false);
48-
}
46+
destroyOnHidden:true,
4947
}}
5048
onFinish={async (values) => {
5149
const users = values.users;

admin-ui/src/config/variables.scss

Lines changed: 0 additions & 9 deletions
This file was deleted.

admin-ui/src/index.scss

Lines changed: 0 additions & 10 deletions
This file was deleted.

admin-ui/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import store from "@/store/Redux";
77
import {ConfigProvider} from "antd";
88
import zhCN from 'antd/es/locale/zh_CN';
99
import {theme} from "@/config/theme";
10-
import './index.scss';
10+
import '@/styles/index.scss';
1111
import "@/config/register.component";
1212

1313
const root = ReactDOM.createRoot(

admin-ui/src/pages/flow/user/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ const UserPage = () => {
183183
title={"编辑用户"}
184184
open={visible}
185185
destroyOnHidden={true}
186-
onClose={()=>{
187-
setVisible(false);
188-
}}
189186
onCancel={()=>{
190187
setVisible(false);
191188
}}

admin-ui/src/pages/flow/user/select.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const UserSelect:React.FC<UserSelectProps> = (props) => {
4242
width={"60%"}
4343
open={props.visible}
4444
onCancel={() => props.setVisible(false)}
45-
onClose={() => props.setVisible(false)}
4645
destroyOnHidden={true}
4746
title={"选择用户"}
4847
onOk={() => {

admin-ui/src/pages/flow/work/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,6 @@ const FlowPage = () => {
196196
title="编辑流程"
197197
open={editorVisible}
198198
destroyOnHidden={true}
199-
onClose={()=>{
200-
setEditorVisible(false)
201-
}}
202199
onCancel={()=>{
203200
setEditorVisible(false)
204201
}}

admin-ui/src/pages/flow/work/select.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ const FlowSelect: React.FC<FlowSelectProps> = (props) => {
6262
width={"60%"}
6363
open={props.visible}
6464
onCancel={() => props.setVisible(false)}
65-
onClose={() => props.setVisible(false)}
6665
destroyOnHidden={true}
6766
title={"选择流程"}
6867
onOk={() => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy