Element-ui——对表格的增删改查
main.js
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import Api from './api/index.js'
import './mock'
import { MessageBox, Message } from 'element-ui'
Vue.config.productionTip = false
Vue.prototype.$api = Api
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$message = Message
new Vue({
store,
router,
beforeCreate() {
Vue.prototype.$bus = this
},
render: h
版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/22205.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论