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
97f59ee5
Commit
97f59ee5
authored
Sep 18, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '第三方接入逻辑优化'
parent
739d18cb
Pipeline
#79033
passed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
editForm.jsx
src/pages/productCenter/mobileConfig/menuconfig/editForm.jsx
+2
-2
miniMenu.jsx
src/pages/productCenter/mobileConfig/menuconfig/miniMenu.jsx
+1
-1
No files found.
src/pages/productCenter/mobileConfig/menuconfig/editForm.jsx
View file @
97f59ee5
...
...
@@ -20,9 +20,9 @@ const EditForm = props => {
if
(
!
info
.
pageUrl
?.
includes
(
'/'
))
{
info
.
pageUrl
=
'flutter/'
+
info
.
pageUrl
;
}
else
{
if
(
info
.
pageUrl
?.
split
(
'/'
)[
0
]
!==
''
)
{
if
(
info
.
pageUrl
?.
split
(
'/'
)[
0
]
!==
''
&&
info
.
pageUrl
.
indexOf
(
'http'
)
===
-
1
)
{
info
.
pageUrl
=
'MobileGCK/'
+
info
.
pageUrl
;
}
else
{
}
else
if
(
info
.
pageUrl
.
indexOf
(
'http'
)
===
-
1
)
{
info
.
pageUrl
=
'MobileGCK'
+
info
.
pageUrl
;
}
}
...
...
src/pages/productCenter/mobileConfig/menuconfig/miniMenu.jsx
View file @
97f59ee5
...
...
@@ -420,7 +420,7 @@ const MiniMenu = props => {
const
getParams
=
prop
=>
{
const
typeArr
=
[
'MobileGCK'
,
'civ_mobile'
,
'flutter'
];
let
productType
=
prop
.
pageUrl
?.
split
(
'/'
)[
0
]
||
''
;
if
(
productType
===
''
)
{
if
(
productType
===
''
&&
prop
.
pageUrl
?.
indexOf
(
'http'
)
===
-
1
)
{
productType
=
'MobileGCK'
;
}
if
(
prop
.
pageUrl
?.
indexOf
(
'/'
)
===
-
1
)
{
...
...
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