Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
80e5f1db
Commit
80e5f1db
authored
Nov 02, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复首页快捷跳转地址
parent
d5516013
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
env.config.js
config/env.config.js
+1
-1
index.jsx
src/pages/Admin/index.jsx
+4
-1
index.jsx
src/pages/AfterSaleManage/index.jsx
+2
-1
No files found.
config/env.config.js
View file @
80e5f1db
const
isProduction
=
process
.
env
.
NODE_ENV
===
'
production
'
;
const
isProduction
=
process
.
env
.
NODE_ENV
===
'
production
'
;
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
isPre
=
process
.
env
.
PRE_ENV
===
'
pre
'
;
const
environment
=
'
yxm2
'
;
const
environment
=
'
sc
'
;
const
envAPi
=
{
const
envAPi
=
{
api
:
`https://security-
${
environment
}
.liangkebang.net`
,
//'https://security-xyqb.liangkebang.net',
api
:
`https://security-
${
environment
}
.liangkebang.net`
,
//'https://security-xyqb.liangkebang.net',
kdspOpApi
:
`https://sc-merchant-api-
${
environment
}
.liangkebang.net`
,
kdspOpApi
:
`https://sc-merchant-api-
${
environment
}
.liangkebang.net`
,
...
...
src/pages/Admin/index.jsx
View file @
80e5f1db
...
@@ -78,7 +78,10 @@ const Admin = props => {
...
@@ -78,7 +78,10 @@ const Admin = props => {
<
Col
span=
{
4
}
>
<
Col
span=
{
4
}
>
<
Link
<
Link
to=
{
{
to=
{
{
pathname
:
'
cancelBillManage
'
,
pathname
:
'
afterSaleManage
'
,
query
:
{
tab
:
'
1
'
,
},
}
}
}
}
>
>
<
strong
>
{
pendingNum
?.
cancelOrderPendingAuditNum
||
0
}
</
strong
>
<
strong
>
{
pendingNum
?.
cancelOrderPendingAuditNum
||
0
}
</
strong
>
...
...
src/pages/AfterSaleManage/index.jsx
View file @
80e5f1db
...
@@ -259,10 +259,11 @@ const AfterSale = props => {
...
@@ -259,10 +259,11 @@ const AfterSale = props => {
// 监听路由query参数变化重新发起请求
// 监听路由query参数变化重新发起请求
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
location
?.
query
)
{
if
(
location
?.
query
)
{
const
{
orderNo
:
orderNumber
}
=
location
?.
query
;
const
{
orderNo
:
orderNumber
,
tab
=
''
}
=
location
?.
query
;
form
.
setFieldsValue
({
form
.
setFieldsValue
({
orderNo
:
orderNumber
,
orderNo
:
orderNumber
,
});
});
tabChange
(
tab
);
if
(
actionRef
.
current
)
{
if
(
actionRef
.
current
)
{
actionRef
.
current
.
reload
();
actionRef
.
current
.
reload
();
}
}
...
...
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