|
|
@@ -235,17 +235,21 @@ const changeSlideIndex = (index: number) => {
|
|
|
}
|
|
|
// 保留工具
|
|
|
const saveTool = (url: string, type: any, index: number) => {
|
|
|
+ console.log('保留工具')
|
|
|
+
|
|
|
createSlide()
|
|
|
createFrameElement(url, type)
|
|
|
changeSlideIndex(childPageIndex.value)
|
|
|
toolsArray[index].isSet = true
|
|
|
setTool()
|
|
|
+ console.log('保留工具', toolsArray)
|
|
|
}
|
|
|
|
|
|
// 放弃工具
|
|
|
const discardTool = (index: number) => {
|
|
|
toolsArray[index].isSet = true
|
|
|
setTool()
|
|
|
+ console.log('放弃工具', toolsArray)
|
|
|
}
|
|
|
|
|
|
// 保留所有工具
|