Skip to content

Commit 295e5e5

Browse files
author
zhuangtongfa
committed
remove superfluous code
1 parent 9b29882 commit 295e5e5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/app.js

-8
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ import { transform, lastRecord, speeds, i18n, lan } from './unit/const'
1414
import { visibilityChangeEvent, isFocus } from './unit/'
1515
import states from './control/states'
1616
export default {
17-
watch: {
18-
w() {
19-
this.render()
20-
},
21-
h() {
22-
this.render()
23-
}
24-
},
2517
mounted() {
2618
this.render()
2719
window.addEventListener('resize', this.resize.bind(this), true)

0 commit comments

Comments
 (0)