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
4637b78c
Commit
4637b78c
authored
Aug 12, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
强制上传合同模板
parent
7a514ef1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
index.tsx
src/pages/contract/template/addContract/index.tsx
+1
-2
No files found.
src/pages/contract/template/addContract/index.tsx
View file @
4637b78c
...
@@ -86,8 +86,7 @@ const AddContract: React.FC<parmas> = (props) => {
...
@@ -86,8 +86,7 @@ const AddContract: React.FC<parmas> = (props) => {
/**提交数据 */
/**提交数据 */
const
onSubmit
=
async
()
=>
{
const
onSubmit
=
async
()
=>
{
await
form
.
validateFields
().
then
(
res
=>
{
await
form
.
validateFields
().
then
(
res
=>
{
console
.
log
(
uploadFile
.
name
)
if
(
uploadFile
.
name
&&
uploadFile
.
file
)
{
if
(
uploadFile
.
name
)
{
const
parmas
=
{
const
parmas
=
{
name
:
res
.
name
,
name
:
res
.
name
,
version
:
res
.
version
,
version
:
res
.
version
,
...
...
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