Skip to content

Commit

Permalink
fix: fix design path
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyiru committed Jun 28, 2024
1 parent 50a17fa commit 49e7780
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const routes = (routerList, nameList, permList, profile) => {
const isDesign = item.component && typeof item.component === 'string';
if (isDesign) {
const designPath = item.component.slice(1);
item.component = () => import(`@app/views/${designPath}`);
item.component = () => import(`@app/views/lowcode/${designPath}`);
// item.component = lowcode.component;
item.loadData = lowcode.loadData;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@huxy/use": "^2.1.6",
"@huxy/utils": "^2.1.13",
"antd": "^5.18.3",
"echarts": "^5.5.0",
"echarts": "^5.5.1",
"echarts-for-react": "^3.0.2",
"highlight.js": "^11.9.0",
"html2canvas": "^1.4.1",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 49e7780

Please sign in to comment.