feat: 添加project中的config项

This commit is contained in:
jiaqiu.cjq 2021-11-16 20:27:59 +08:00 committed by lihao.ylh
parent cbe5ed7692
commit 33f0fb43c9

View File

@ -70,7 +70,10 @@ const pages = Object.assign(project, {
componentsMap: [],
componentsTree,
id: pages[0].id,
config: project.config,
config: {
...project.config,
...pages[0].config,
},
},
true,
);