Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
inspect_report
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
zhengjinlei
inspect_report
Commits
cc0572f8
Commit
cc0572f8
authored
Jul 23, 2020
by
zhengjinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分页
parent
d743d72c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
profile.js
static/inspect/js/profile.js
+2
-2
No files found.
static/inspect/js/profile.js
View file @
cc0572f8
...
@@ -70,7 +70,7 @@ new Vue({
...
@@ -70,7 +70,7 @@ new Vue({
let
that
=
this
;
let
that
=
this
;
let
page
=
this
.
currentPage
;
let
page
=
this
.
currentPage
;
this
.
$loading
({
text
:
'
数据加载中...
'
});
this
.
$loading
({
text
:
'
数据加载中...
'
});
RquestsGet
(
'
api/v1/profile/labels/?region=
'
+
that
.
cityvalue
).
then
(
data
=>
{
RquestsGet
(
'
api/v1/profile/labels/?region=
'
+
that
.
cityvalue
+
'
&page=
'
+
page
+
'
&page_size=10
'
).
then
(
data
=>
{
console
.
log
(
data
.
data
);
console
.
log
(
data
.
data
);
if
(
data
.
code
!=
0
)
{
if
(
data
.
code
!=
0
)
{
that
.
$message
(
data
.
msg
);
that
.
$message
(
data
.
msg
);
...
@@ -81,7 +81,7 @@ new Vue({
...
@@ -81,7 +81,7 @@ new Vue({
}
}
}
}
this
.
tableData
=
data
.
data
;
this
.
tableData
=
data
.
data
;
this
.
total
=
data
.
count
;
this
.
total
=
data
.
total
;
this
.
isHidePage
=
!
(
data
.
data
.
length
>
0
);
this
.
isHidePage
=
!
(
data
.
data
.
length
>
0
);
if
(
!
data
.
data
)
{
if
(
!
data
.
data
)
{
...
...
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