fix eslint

This commit is contained in:
梁灏 2018-08-28 09:51:28 +08:00
parent 78b7cd0b28
commit 416414039b

View file

@ -162,17 +162,17 @@
},
watch: {
value () {
this.computeOffset()
this.computeOffset();
}
},
mounted () {
this.$nextTick(() => {
this.computeOffset()
this.computeOffset();
});
window.addEventListener('resize', ()=>{
this.computeOffset()
})
this.computeOffset();
});
}
};
</script>