优化component插件

This commit is contained in:
吕金泽
2022-03-23 20:57:43 +08:00
parent 35da78b14e
commit 7abec9974f
17 changed files with 421 additions and 416 deletions
@@ -28,7 +28,7 @@ function appComponent(app, item){
const install = (app) => {
app.config.globalProperties.$post('/component/list', { size: 999999 }).then((res) => {
res.data.list.forEach(it => {
res.data.forEach(it => {
appComponent(app, it)
})
})