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
shenshaokai
jinfa-platform
Commits
d125e916
Commit
d125e916
authored
Jul 02, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [12039] 修改auth取值
parent
a971c771
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
signUp.tsx
...nsaction/purchaseAbility/onlineBid/readySignUp/signUp.tsx
+1
-1
add.tsx
.../transaction/purchaseAbility/purchaseBid/readyAdd/add.tsx
+2
-1
No files found.
src/pages/transaction/purchaseAbility/onlineBid/readySignUp/signUp.tsx
View file @
d125e916
...
...
@@ -22,7 +22,7 @@ const addSchemaAction = createFormActions()
const
SignUpForm
=
()
=>
{
const
{
number
}
=
history
.
location
.
query
;
const
{
memberId
,
memberRoleId
,
name
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'auth'
)
);
const
{
memberId
,
memberRoleId
,
name
}
=
getAuth
(
);
const
{
id
,
...
...
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/add.tsx
View file @
d125e916
...
...
@@ -6,6 +6,7 @@ import { Tabs, Card, Button, Badge } from 'antd';
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
getAuth
}
from
'@/utils/auth'
;
import
Material
from
'../../purchaseInquiry/addInquiry/components/material'
;
import
Demand
from
'../../purchaseInquiry/addInquiry/components/demand'
;
...
...
@@ -34,7 +35,7 @@ const AddForm = () => {
number
},
pathname
,
}
=
history
.
location
;
const
{
memberId
,
memberRoleId
,
name
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'auth'
)
);
const
{
memberId
,
memberRoleId
,
name
}
=
getAuth
(
);
const
[
path
]
=
useState
(
pathname
.
split
(
'/'
)[
pathname
.
split
(
'/'
).
length
-
1
]);
console
.
log
(
path
)
/** 基本信息 */
...
...
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