mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
Merge branch 'fix/rax-miniapp-0922' into 'release/0.9.22'
fix: path with / See merge request !990445
This commit is contained in:
commit
dd56fbbc19
@ -83,7 +83,7 @@ export class Project {
|
||||
const documentInstances = this.data.componentsTree.map((data) => this.createDocument(data));
|
||||
// TODO: 暂时先读 config tabBar 里的值,后面看整个 layout 结构是否能作为引擎规范
|
||||
if (this.config?.layout?.props?.tabBar?.items?.length > 0) {
|
||||
documentInstances.find((i) => i.fileName === this.config.layout.props.tabBar.items[0].path)?.open();
|
||||
documentInstances.find((i) => i.fileName === this.config.layout.props.tabBar.items[0].path?.slice(1))?.open();
|
||||
} else {
|
||||
documentInstances[0].open();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user