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
6559fbbb
Commit
6559fbbb
authored
Dec 10, 2020
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: perf
parent
6039d9c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
AddModal.jsx
src/pages/userCenter/roleManage/AddModal.jsx
+7
-0
index.js
src/services/index.js
+1
-1
No files found.
src/pages/userCenter/roleManage/AddModal.jsx
View file @
6559fbbb
...
...
@@ -35,6 +35,13 @@ const AddModal = props => {
const
arr
=
Object
.
entries
(
data
);
const
list
=
[];
arr
.
map
((
item
,
index
)
=>
{
console
.
log
(
item
,
'item'
);
if
(
item
[
1
]
===
'小程序'
)
{
item
[
1
]
=
'移动应用'
;
}
if
(
item
[
1
]
===
'手持系统'
)
{
return
;
}
let
obj
=
{
key
:
index
,
value
:
item
[
0
],
...
...
src/services/index.js
View file @
6559fbbb
import
{
request
}
from
'../utils/request'
;
// export const CITY_SERVICE = '/Cityinterface/rest/services';
export
const
PUBLISH_SERVICE
=
'/Publish/OMS'
;
export
const
PUBLISH_SERVICE
=
'/Publish/
GateWay/
OMS'
;
export
const
CITY_SERVICE
=
'/Publish/GateWay/CityServer'
;
const
get
=
async
(
url
,
params
,
options
=
{})
=>
...
...
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