remove superfluous code

This commit is contained in:
zhuangtongfa
2017-07-20 15:07:33 +08:00
parent 9b29882e78
commit 295e5e5690

View File

@@ -14,14 +14,6 @@ import { transform, lastRecord, speeds, i18n, lan } from './unit/const'
import { visibilityChangeEvent, isFocus } from './unit/'
import states from './control/states'
export default {
watch: {
w() {
this.render()
},
h() {
this.render()
}
},
mounted() {
this.render()
window.addEventListener('resize', this.resize.bind(this), true)