Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas3-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas3-fe
Commits
3190f929
Commit
3190f929
authored
Jan 04, 2022
by
guxukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip: 分页demo
parent
d376016d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
index.vue
src/shared/components/global/g-pagination-com/index.vue
+7
-4
No files found.
src/shared/components/global/g-pagination-com/index.vue
View file @
3190f929
...
...
@@ -14,7 +14,7 @@
</
template
>
<
script
lang=
"ts"
setup
>
import
{
PropType
,
ref
,
watch
}
from
'vue'
import
{
computed
,
PropType
,
ref
,
watch
}
from
'vue'
import
{
useRoute
}
from
'vue-router'
import
{
useAuth
}
from
'@shared/store/modules/auth'
...
...
@@ -52,9 +52,12 @@ if ($route.name === 'app-market' && authStore.consoleInfo.consoleObjectId === '3
if
(
props
.
pageSizeList
)
{
pageSizeArr
.
value
=
props
.
pageSizeList
!
}
watch
([
props
.
pageIndex
],
newVal
=>
{
pageIndex_
.
value
=
newVal
[
0
]
})
watch
(
computed
(()
=>
props
.
pageIndex
),
newVal
=>
{
pageIndex_
.
value
=
newVal
},
)
const
handleGetTableData
=
()
=>
{
props
.
run
()
}
...
...
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