1
yyb
昨天 69b917fa605be8ccd0984e5c095f24d6476dce95
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
}