[Doc] optimzie router & remove unused code (#640)

This commit is contained in:
neverland
2018-02-12 17:23:37 +08:00
committed by GitHub
parent e1123c4116
commit 3991ec3bc9
28 changed files with 154 additions and 230 deletions
+1 -2
View File
@@ -2,9 +2,8 @@
* 同步父窗口和 iframe 的 vue-router 状态
*/
import isMobile from './is-mobile';
import { setLang } from './lang';
import { iframeReady } from './iframe';
import { iframeReady, isMobile } from './';
window.syncPath = function(dir) {
const router = window.vueRouter;