From 295e5e5690b0eb7c28d2c9a382bcb6c84afcc477 Mon Sep 17 00:00:00 2001 From: zhuangtongfa Date: Thu, 20 Jul 2017 15:07:33 +0800 Subject: [PATCH] remove superfluous code --- src/app.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/app.js b/src/app.js index f035803..795d9d6 100644 --- a/src/app.js +++ b/src/app.js @@ -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)