1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 13:19:31 +08:00

refactor: 将页面配置通过插件动态化配置(plugin-uni-halo)

This commit is contained in:
小莫唐尼
2024-06-24 18:59:05 +08:00
parent 959acab9c7
commit e17edade28
54 changed files with 5299 additions and 5653 deletions
+5 -5
View File
@@ -10,19 +10,19 @@
* 修改时间:
*/
import HttpHandler from '@/common/http/request.js'
// 2.0接口
import v2 from './v2/all.api.js'
import v2Config from './v2/all.config.js'
const ApiManager = {
v2
v2,
v2Config,
};
const install = (Vue) => {
Vue.prototype.$httpApi = ApiManager
Vue.prototype.$httpApi = ApiManager
}
export default {
install
install
}