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',