Skip to content

Commit b55f5ce

Browse files
committed
fix: classList.remove
1 parent 789a01f commit b55f5ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zzwing/vue-fixed-table",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "a vue-table component",
55
"main": "dist/index.js",
66
"module": "es/index.js",

src/fixed-table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
this.update()
252252
},
253253
destroyed() {
254-
this.scrollerDom.classList.add('scroll-container')
254+
this.scrollerDom.classList.remove('scroll-container')
255255
this.scroller.removeEventListener('scroll', this.scrollHandle)
256256
this.scroller.removeEventListener('mousewheel', this.scrollerMouseWheel)
257257
if (this.selfScroll) {

0 commit comments

Comments
 (0)