Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e19d2225
authored
Nov 13, 2021
by
limin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.1.3
1 parent
f279565a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
package.json
src/packages/Table/src/index.vue
package.json
View file @
e19d222
{
"name"
:
"glsx-components"
,
"description"
:
"glsx vue components"
,
"version"
:
"1.1.
2
"
,
"version"
:
"1.1.
3
"
,
"author"
:
"limin <17653212@qq.com>"
,
"license"
:
"MIT"
,
"main"
:
"dist/glsx-components.common.js"
,
...
...
src/packages/Table/src/index.vue
View file @
e19d222
...
...
@@ -284,7 +284,6 @@ export default {
}
this
.
getListApi
(
params
)
.
then
(
res
=>
{
console
.
log
(
res
)
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
)
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
)
this
.
loading
=
false
...
...
@@ -310,8 +309,6 @@ export default {
// 每页条数
handleSizeChange
(
value
)
{
let
offsettop
=
document
.
getElementById
(
'initTable'
).
offsetTop
console
.
log
(
'表格距离顶部1'
,
offsettop
)
this
.
page
[
this
.
pageConf
.
pageSize
]
=
value
this
.
getListApi
?
this
.
refreshTable
(
false
,
false
)
:
this
.
$emit
(
'refreshTable'
,
this
.
page
)
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment