feat: 引入 tiny-emitter 插件

This commit is contained in:
@changcode
2022-01-19 16:18:11 +08:00
parent da28c3d940
commit 53202d7b0c
3 changed files with 10 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ export default {
}
},
mounted () {
const _this = this
this.emitter.on('chart-pageNo', function () {
_this.resetPageNo()
})
this.$el.querySelector('.el-pagination__jump').childNodes[0].nodeValue = ''
}
}