Lou
2024-01-16 db8e416fec0ab844026eb7bc91d9f59a457f4e6e
main.js
@@ -8,7 +8,8 @@
import {
   setImageUrl,
   showTips,
   getIndex
   getIndex,
   formattingUrls
} from '@/common/common.js'
Vue.config.productionTip = false;
@@ -37,7 +38,8 @@
Vue.prototype.$http = http
Vue.prototype.$showTips = showTips;
Vue.prototype.$setImageUrl = setImageUrl;
Vue.prototype.$getIndex = getIndex
Vue.prototype.$getIndex = getIndex;
Vue.prototype.$formattingUrls = formattingUrls;
// 公共函数
import globalFunc from '@/utils/func.js'
Vue.use(globalFunc, app);