Skip to content

Commit

Permalink
fix: 修复问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft authored and jianbing.chen committed Dec 18, 2024
1 parent a571719 commit 0fa278e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/pages/editor/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const Editor = () => {
useEffect(() => {
if (!id) return;
setLoaded(false);
setCanvasWidth(storage.get('canvasWidth'));
setCanvasWidth(storage.get('canvasWidth') || 'auto');
getPageDetail(parseInt(id)).then((res) => {
let pageData: any = {};
try {
Expand Down

0 comments on commit 0fa278e

Please sign in to comment.