From 0956bb3aa056f6761cf484614c579b66e9e74690 Mon Sep 17 00:00:00 2001 From: dqjdda <201507802@qq.com> Date: Sun, 8 Sep 2019 11:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3IE=E5=85=BC=E5=AE=B9=E6=80=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E9=99=8D=E7=BA=A7simple-drawing-boa?= =?UTF-8?q?rd=20=E5=88=B01.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/main.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4cb9618..361a85e 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,10 @@ "nprogress": "0.2.0", "path-to-regexp": "2.4.0", "screenfull": "3.3.3", - "simple-drawing-board": "^2.0.1", + "simple-drawing-board": "1.4.1", "vue": "2.5.17", "vue-count-to": "1.0.13", - "vue-router": "^3.1.3", + "vue-router": "3.1.3", "vuex": "3.0.1", "wangeditor": ">=3.0.0", "xlsx": "^0.11.16" diff --git a/src/main.js b/src/main.js index 56a0acc..44dd629 100644 --- a/src/main.js +++ b/src/main.js @@ -21,12 +21,12 @@ Vue.use(mavonEditor) Vue.use(permission) Vue.use(ElementUI, { locale }) Vue.config.productionTip = false -require('babel-polyfill') const routerPush = Router.prototype.push Router.prototype.push = function push(location) { return routerPush.call(this, location).catch(error => error) } +require('babel-polyfill') new Vue({ el: '#app',