gaoluyang
2026-05-30 f9adfa16fdf2012e915908ea1fed19f75d5107a4
src/plugins/index.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
import tab from './tab'
import auth from './auth'
import cache from './cache'
import modal from './modal'
import download from './download'
export default function installPlugins(app){
  // é¡µç­¾æ“ä½œ
  app.config.globalProperties.$tab = tab
  // è®¤è¯å¯¹è±¡
  app.config.globalProperties.$auth = auth
  // ç¼“存对象
  app.config.globalProperties.$cache = cache
  // æ¨¡æ€æ¡†å¯¹è±¡
  app.config.globalProperties.$modal = modal
  // ä¸‹è½½æ–‡ä»¶
  app.config.globalProperties.$download = download
}