Prechádzať zdrojové kódy

fix: 在updateElement方法中添加调试日志

lsc 1 mesiac pred
rodič
commit
1833b5cae2
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/store/slides.ts

+ 1 - 0
src/store/slides.ts

@@ -207,6 +207,7 @@ export const useSlidesStore = defineStore('slides', {
     },
   
     updateElement(data: UpdateElementData) {
+      console.log('data', data)
       const { id, props, slideId } = data
       const elIdList = typeof id === 'string' ? [id] : id