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
7ba3bb2c
Commit
7ba3bb2c
authored
Jun 19, 2023
by
武广
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复sentry问题
parent
3225d62c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
index.jsx
src/components/CustomTree/index.jsx
+1
-1
index.jsx
src/pages/Admin/index.jsx
+9
-5
index.jsx
src/pages/orderManage/pendingDeliveryOrder/index.jsx
+1
-1
index.jsx
src/pages/orderManage/queryOrder/index.jsx
+1
-1
No files found.
src/components/CustomTree/index.jsx
View file @
7ba3bb2c
...
@@ -269,7 +269,7 @@ const CustomTree = forwardRef(props => {
...
@@ -269,7 +269,7 @@ const CustomTree = forwardRef(props => {
// 隐藏所有子树
// 隐藏所有子树
const
handleMouseUp
=
e
=>
{
const
handleMouseUp
=
e
=>
{
const
isCur
=
e
.
path
.
some
(
const
isCur
=
e
?.
path
?
.
some
(
item
=>
item
=>
item
.
className
&&
item
.
className
&&
typeof
item
.
className
===
'
string
'
&&
typeof
item
.
className
===
'
string
'
&&
...
...
src/pages/Admin/index.jsx
View file @
7ba3bb2c
...
@@ -14,15 +14,19 @@ import {
...
@@ -14,15 +14,19 @@ import {
}
from
'
@/../config/permission.config
'
;
}
from
'
@/../config/permission.config
'
;
const
Admin
=
props
=>
{
const
Admin
=
props
=>
{
const
[
pendingNum
,
set
p
endingNum
]
=
useState
({});
const
[
pendingNum
,
set
P
endingNum
]
=
useState
({});
const
showAfterSaleList
=
props
.
permissions
[
AFTER_SALE_ORDER
.
LIST
];
const
showAfterSaleList
=
props
.
permissions
[
AFTER_SALE_ORDER
.
LIST
];
const
showCancelBillList
=
props
.
permissions
[
CANCEL_BILL_MANAGE
.
LIST
];
const
showCancelBillList
=
props
.
permissions
[
CANCEL_BILL_MANAGE
.
LIST
];
const
showPendingDeliveryOrderList
=
props
.
permissions
[
PENDING_DELIVERY_ORDER
.
LIST
];
const
showPendingDeliveryOrderList
=
props
.
permissions
[
PENDING_DELIVERY_ORDER
.
LIST
];
const
qurey
=
async
()
=>
{
const
res
=
await
getPendingNum
();
if
(
res
&&
res
.
data
)
{
setPendingNum
(
res
.
data
);
}
};
useEffect
(()
=>
{
useEffect
(()
=>
{
const
qurey
=
async
()
=>
{
const
{
data
}
=
await
getPendingNum
();
setpendingNum
(
data
);
};
qurey
();
qurey
();
},
[]);
},
[]);
...
...
src/pages/orderManage/pendingDeliveryOrder/index.jsx
View file @
7ba3bb2c
...
@@ -451,7 +451,7 @@ const TableList = props => {
...
@@ -451,7 +451,7 @@ const TableList = props => {
multiLogisticsModalRef
.
current
.
open
(
multiLogisticsModalRef
.
current
.
open
(
{
{
...
record
,
...
record
,
packageList
:
res
.
data
.
packageList
||
[],
packageList
:
res
?.
data
?
.
packageList
||
[],
},
},
actionRef
,
actionRef
,
);
);
...
...
src/pages/orderManage/queryOrder/index.jsx
View file @
7ba3bb2c
...
@@ -386,7 +386,7 @@ const OrderList = props => {
...
@@ -386,7 +386,7 @@ const OrderList = props => {
skuNo
:
item
.
skuId
?.
toString
(),
skuNo
:
item
.
skuId
?.
toString
(),
orderNo
:
record
.
orderNoStr
,
orderNo
:
record
.
orderNoStr
,
})),
})),
packageList
:
res
.
data
.
packageList
||
[],
packageList
:
res
?.
data
?
.
packageList
||
[],
},
},
actionRef
,
actionRef
,
);
);
...
...
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