Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gavel-hafms-vue
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
李苏
gavel-hafms-vue
Commits
b6ab3aff
Commit
b6ab3aff
authored
Jul 11, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决表格grid重置的bug
parent
0b82f9e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
index.vue
src/views/hzcxbb/ysspzl/index.vue
+9
-2
No files found.
src/views/hzcxbb/ysspzl/index.vue
View file @
b6ab3aff
...
...
@@ -276,11 +276,18 @@
})
}
else
{
/* 删除表格列头*/
let
indexList
=
[]
this
.
tableTitle
.
forEach
((
item
,
index
)
=>
{
console
.
log
(
this
.
queryParams
.
sjbmids
)
console
.
log
(
item
.
field
)
if
(
this
.
queryParams
.
sjbmids
.
indexOf
(
item
.
field
)
!=-
1
){
this
.
tableTitle
.
splice
(
index
,
1
);
indexList
.
unshift
(
index
)
}
})
indexList
.
forEach
(
index
=>
{
this
.
tableTitle
.
splice
(
index
,
1
);
})
this
.
$refs
[
'TablePager'
].
setGrid
(
{
reload
:
false
...
...
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