Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
f9a36f65
Commit
f9a36f65
authored
Jun 30, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复数据不存在报错的问题
parent
2549959a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
index.tsx
src/pages/member/memberQuery/applyMember/index.tsx
+4
-7
schema.ts
src/pages/member/memberQuery/applyMember/schema.ts
+1
-1
No files found.
src/pages/member/memberQuery/applyMember/index.tsx
View file @
f9a36f65
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 16:52:48
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-
17 10:46:31
* @LastEditTime: 2021-06-
30 10:05:10
* @Description: 申请会员
*/
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
...
...
@@ -164,12 +164,9 @@ const MemberQueryApplyMember: React.FC = () => {
},
[]);
const
handleSubmit
=
(
values
:
ValueType
)
=>
{
const
{
step3
,
step4
:
{
qualities
=
[],
},
}
=
values
;
const
step3
=
values
.
step3
||
{};
// 没有触发 step4 下的表单元素改变的话,step4 为 undefined
const
{
qualities
=
[]
}
=
values
.
step4
||
{};
setSubmitLoading
(
true
);
const
msg
=
message
.
loading
({
content
:
'正在保存,请稍候...'
,
...
...
src/pages/member/memberQuery/applyMember/schema.ts
View file @
f9a36f65
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-26 17:00:39
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-
15 14:05:18
* @LastEditTime: 2021-06-
30 09:55:17
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment