doum
2025-09-26 9057e04efad1b7d61c77a72e5c37a504d0aee935
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
  }
}