2 Commits c35071006c ... fe48472002

Author SHA1 Message Date
  jack fe48472002 Merge branch 'beta' of https://git.cocorobo.cn/jack/PPT into beta 7 months ago
  jack 3bea9bd6a1 update 7 months ago
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/hooks/useImport.ts

+ 2 - 0
src/hooks/useImport.ts

@@ -464,7 +464,9 @@ export default () => {
         }
 
         const parseElements = (elements: Element[]) => {
+          
           const sortedElements = elements.sort((a, b) => a.order - b.order)
+          console.log(sortedElements)
 
           for (const el of sortedElements) {
             const originWidth = el.width || 1