lsc 2 days ago
parent
commit
174b838ce6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/CollapsibleToolbar/index.vue

+ 3 - 3
src/components/CollapsibleToolbar/index.vue

@@ -223,9 +223,9 @@ const addContent = (data: ContentItem) => {
   insertContent(data)
 }
 
-// Object.assign(window, { addContent, loadContentList })
-window.loadContentList = loadContentList
-window.addContent = addContent
+Object.assign(window, { addContent, loadContentList })
+// window.loadContentList = loadContentList
+// window.addContent = addContent
 
 const previewVideo = (item: ContentItem) => {
   interface ParentWindowWithToolList extends Window {