2.2版本发布,详情查阅版本说明
This commit is contained in:
10
src/main.js
10
src/main.js
@@ -15,17 +15,17 @@ import store from './store'
|
||||
|
||||
import '@/icons' // icon
|
||||
import './router/index' // permission control
|
||||
import Router from 'vue-router'
|
||||
// import Router from 'vue-router'
|
||||
|
||||
Vue.use(mavonEditor)
|
||||
Vue.use(permission)
|
||||
Vue.use(ElementUI, { locale })
|
||||
Vue.config.productionTip = false
|
||||
|
||||
const routerPush = Router.prototype.push
|
||||
Router.prototype.push = function push(location) {
|
||||
return routerPush.call(this, location).catch(error => error)
|
||||
}
|
||||
// const routerPush = Router.prototype.push
|
||||
// Router.prototype.push = function push(location) {
|
||||
// return routerPush.call(this, location).catch(error => error)
|
||||
// }
|
||||
require('babel-polyfill')
|
||||
|
||||
new Vue({
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
size="mini"
|
||||
type="warning"
|
||||
icon="el-icon-more"
|
||||
@click="changeExpand">{{ $parent.expand ? '折叠' : '展开' }}</el-button>
|
||||
@click="changeExpand">{{ expand ? '折叠' : '展开' }}</el-button>
|
||||
<eForm ref="form" :is-add="true" :dicts="dicts"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
size="mini"
|
||||
type="warning"
|
||||
icon="el-icon-more"
|
||||
@click="changExpand">{{ $parent.expand ? '折叠' : '展开' }}</el-button>
|
||||
@click="changExpand">{{ expand ? '折叠' : '展开' }}</el-button>
|
||||
<eForm ref="form" :is-add="true"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
size="mini"
|
||||
type="warning"
|
||||
icon="el-icon-more"
|
||||
@click="changeExpand">{{ $parent.expand ? '折叠' : '展开' }}</el-button>
|
||||
@click="changeExpand">{{ expand ? '折叠' : '展开' }}</el-button>
|
||||
<eForm ref="form" :is-add="true"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user