|
|
@@ -366,7 +366,7 @@ interface ContentItem {
|
|
|
id?: string
|
|
|
}
|
|
|
|
|
|
-const addContent = (data: ContentItem, type: number) => {
|
|
|
+const addContent2 = (data: ContentItem, type: number) => {
|
|
|
// contentList.value.push(data)
|
|
|
if (type === 2) {
|
|
|
const elements = currentSlide.value?.elements || []
|
|
|
@@ -380,7 +380,7 @@ const addContent = (data: ContentItem, type: number) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-Object.assign(window, { addContent })
|
|
|
+Object.assign(window, { addContent2 })
|
|
|
|
|
|
// 确认对话框状态
|
|
|
const confirmDialogVisible = ref(false)
|