Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b9af7d7c
authored
2020-12-15 11:05:45 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:网上申请
1 parent
4fe05c87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
staticJs/wssq.js
staticJs/wssq.js
View file @
b9af7d7
...
...
@@ -51,10 +51,15 @@ function _initData() {
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
let
data
=
result
.
data
[
0
].
children
[
0
].
children
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
)
{
li
=
'<li data-id="'
+
data
[
i
].
id
+
'">'
+
data
[
i
].
name
+
'</li>'
;
if
(
i
==
0
)
{
li
=
'<li data-id="'
+
data
[
i
].
id
+
'" class="active2">'
+
data
[
i
].
name
+
'</li>'
;
}
else
{
li
=
'<li data-id="'
+
data
[
i
].
id
+
'">'
+
data
[
i
].
name
+
'</li>'
;
}
area_list
.
append
(
li
);
}
regionId
=
data
[
0
].
id
_businessList
(
regionId
)
}
}
});
...
...
Please
register
or
sign in
to post a comment