admin/src/plugins/index.js
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,19 @@ import consts from './consts' import message from './message' import messagebox from './messagebox' import cache from './cache' import download from './download' export default { install (Vue) { // 常é Vue.prototype.$consts = consts // æé对象 Vue.prototype.$tip = message // æç¤ºæ¡å¯¹è±¡ Vue.prototype.$dialog = messagebox // ç¼å对象 Vue.prototype.$cache = cache // ä¸è½½æä»¶ Vue.prototype.download = download } }