feat: 引入 tiny-emitter 插件
This commit is contained in:
@@ -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 = ''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user