Skip to content

Commit

Permalink
fix: 修复预览依赖字段问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yy-wow committed Jan 11, 2025
1 parent 49caefe commit 1942594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/js/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const open = (params = {}) => {
const { scripts, styles } = useMaterial().getCanvasDeps()

params.scripts = scripts.reduce((res, item) => {
res[item.package] = item.version
res[item.package] = item.script

return res
}, {})
Expand Down

0 comments on commit 1942594

Please sign in to comment.