Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
4d559b2a
Commit
4d559b2a
authored
Jun 13, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 'H5手持功能路径新增product类型'
parent
3908e04c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
BookConfigNew.jsx
src/pages/bsmanager/base/standingBook/BookConfigNew.jsx
+1
-1
miniMenu.jsx
src/pages/productCenter/mobileConfig/menuconfig/miniMenu.jsx
+12
-3
No files found.
src/pages/bsmanager/base/standingBook/BookConfigNew.jsx
View file @
4d559b2a
...
...
@@ -646,7 +646,7 @@ const BookConfigNew = props => {
>
{
standingTable
.
map
((
item
,
index
)
=>
(
<
Option
key=
{
index
}
value=
{
item
.
value
}
>
{
item
.
text
}
{
item
.
value
}
</
Option
>
))
}
</
Select
>
...
...
src/pages/productCenter/mobileConfig/menuconfig/miniMenu.jsx
View file @
4d559b2a
...
...
@@ -418,11 +418,15 @@ const MiniMenu = props => {
// 新增提交的回调
const
submitCallback
=
(
prop
,
item
,
e
)
=>
{
setSubmitLoading
(
true
);
let
obj
=
{
...
prop
};
const
productType
=
prop
.
pageUrl
.
split
(
'/'
)[
1
]
===
'civ_mobile'
?
prop
.
pageUrl
.
split
(
'/'
)[
1
]
:
''
;
const
pageUrl
=
prop
.
pageUrl
.
includes
(
'/civ_mobile'
)
?
prop
.
pageUrl
.
replace
(
'/civ_mobile'
,
''
)
:
prop
.
pageUrl
;
let
obj
=
{
...
prop
,
productType
,
pageUrl
};
// if (addType === 3 || addType === 4) {
// obj.relatedRoleList = String(roleList) || '';
// }
console
.
log
(
obj
);
console
.
log
(
e
);
const
parentID
=
item
.
menuID
?
item
.
menuID
:
'-1'
;
addMenu
({
...
...
@@ -461,9 +465,14 @@ const MiniMenu = props => {
};
// 编辑的回调
const
editSubmitCallback
=
prop
=>
{
const
productType
=
prop
.
pageUrl
.
split
(
'/'
)[
1
]
===
'civ_mobile'
?
prop
.
pageUrl
.
split
(
'/'
)[
1
]
:
''
;
const
pageUrl
=
prop
.
pageUrl
.
includes
(
'/civ_mobile'
)
?
prop
.
pageUrl
.
replace
(
'/civ_mobile'
,
''
)
:
prop
.
pageUrl
;
setLoading
(
true
);
console
.
log
(
prop
);
let
obj
=
{
...
prop
};
let
obj
=
{
...
prop
,
productType
,
pageUrl
};
// if (nodeType === 3 || nodeType === 4) {
// obj.relatedRoleList = String(roleList) || '';
// }
...
...
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