lin
2024-05-14 0beea067bea14aeaa8ed0d8ee3cf4d2117f3cd2e
main.js
@@ -9,7 +9,9 @@
   setImageUrl,
   showTips,
   getIndex,
   formattingUrls
   formattingUrls,
   setLabelColor,
   setFullUrl
} from '@/common/common.js'
Vue.config.productionTip = false;
@@ -40,6 +42,8 @@
Vue.prototype.$setImageUrl = setImageUrl;
Vue.prototype.$getIndex = getIndex;
Vue.prototype.$formattingUrls = formattingUrls;
Vue.prototype.$setLabelColor = setLabelColor;
Vue.prototype.$setFullUrl = setFullUrl
// 公共函数
import globalFunc from '@/utils/func.js'
Vue.use(globalFunc, app);