Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
U
uni-app-base
Project
Project
Details
Activity
Releases
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
tangfh
uni-app-base
Commits
2fa40a8e
Commit
2fa40a8e
authored
Aug 25, 2023
by
tangfh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+
parent
7ef3d268
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
base-list.vue
pages/template/base-list.vue
+1
-1
base-tab.vue
pages/template/base-tab.vue
+1
-1
No files found.
pages/template/base-list.vue
View file @
2fa40a8e
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
if
(
list
.
length
>
0
)
{
if
(
list
.
length
>
0
)
{
this
.
items
=
this
.
items
.
concat
(
list
);
this
.
items
=
this
.
items
.
concat
(
list
);
}
}
this
.
loadMoreStatus
=
this
.
page
=
=
this
.
total_page
?
constant
.
LOAD_STATUS
.
noMore
:
constant
.
LOAD_STATUS
this
.
loadMoreStatus
=
this
.
page
>
=
this
.
total_page
?
constant
.
LOAD_STATUS
.
noMore
:
constant
.
LOAD_STATUS
.
more
;
.
more
;
}
}
this
.
contentStatus
=
this
.
items
.
length
==
0
?
constant
.
CONTENT_STATUS
.
EMPTY
:
{};
this
.
contentStatus
=
this
.
items
.
length
==
0
?
constant
.
CONTENT_STATUS
.
EMPTY
:
{};
...
...
pages/template/base-tab.vue
View file @
2fa40a8e
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
if
(
list
.
length
>
0
)
{
if
(
list
.
length
>
0
)
{
tab
.
content
.
list
=
tab
.
content
.
list
.
concat
(
list
);
tab
.
content
.
list
=
tab
.
content
.
list
.
concat
(
list
);
}
}
tab
.
content
.
loadStatus
=
tab
.
content
.
page
=
=
tab
.
content
.
total_pages
?
constant
.
LOAD_STATUS
.
noMore
:
tab
.
content
.
loadStatus
=
tab
.
content
.
page
>
=
tab
.
content
.
total_pages
?
constant
.
LOAD_STATUS
.
noMore
:
constant
.
LOAD_STATUS
.
more
;
constant
.
LOAD_STATUS
.
more
;
}
}
tab
.
content
.
contentStatus
=
tab
.
content
.
list
.
length
==
0
?
constant
.
CONTENT_STATUS
.
EMPTY
:
{};
tab
.
content
.
contentStatus
=
tab
.
content
.
list
.
length
==
0
?
constant
.
CONTENT_STATUS
.
EMPTY
:
{};
...
...
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