代码拉取完成,页面将自动刷新
import axios from 'axios'
import table from './components/table'
import form from './components/form'
import dialog from './components/dialog'
import popover from './components/popover'
import preview from './components/preview'
import upload from './components/upload'
import treeTable from './components/treeTable'
import fileUpload from './components/fileUpload'
import wangEditor from './components/wangEditor'
import validate from './utils/validate.js'
import util from './utils/util.js'
import { message, warning, success, error, alert, prompt, confirm, loading } from './utils/message.js'
export default {
install:function(Vue, options) {
Vue.prototype.axios = axios;
Vue.prototype.util = util;
Vue.prototype.validator = validate;
Vue.prototype.message = message;
Vue.prototype.warning = warning;
Vue.prototype.success = success;
Vue.prototype.error = error;
Vue.prototype.alert = alert;
Vue.prototype.prompt = prompt;
Vue.prototype.confirm = confirm;
Vue.prototype.goLoading = loading;
Vue.component('ComponentTable',table);
Vue.component('ComponentDialog',dialog);
Vue.component('ComponentForm',form);
Vue.component('ComponentPopover',popover);
Vue.component('ComponentPreview',preview);
Vue.component('ComponentUpload',upload);
Vue.component('ComponentTreeTable',treeTable);
Vue.component('ComponentFileUpload',fileUpload);
Vue.component('ComponentWangEditor',wangEditor);
},
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。