This commit is contained in:
Pan 2018-11-02 15:05:45 +08:00
parent 4b2bfd5610
commit 74e6721bf3
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,11 @@
import { debounce } from '@/utils'
export default {
data() {
return {
sidebarElm: null
}
},
mounted() {
this.__resizeHandler = debounce(() => {
if (this.chart) {

View File

@ -32,7 +32,8 @@ export default {
},
data() {
return {
chart: null
chart: null,
sidebarElm: null
}
},
watch: {