解决IE兼容性问题,降级simple-drawing-board 到1.4.1

This commit is contained in:
dqjdda
2019-09-08 11:57:37 +08:00
parent d41b76a9ac
commit 0956bb3aa0
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

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