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 }