|
@@ -74,6 +74,7 @@ import PopoverMenuItem from "@/components/PopoverMenuItem.vue"
|
|
import { ref, computed } from "vue"
|
|
import { ref, computed } from "vue"
|
|
import { ElMessageBox } from "element-plus"
|
|
import { ElMessageBox } from "element-plus"
|
|
import usePptWork from "@/store/pptWork"
|
|
import usePptWork from "@/store/pptWork"
|
|
|
|
+import { iframeExitMes } from "@/messageHooks/closePage"
|
|
|
|
|
|
const slidesStore = useSlidesStore()
|
|
const slidesStore = useSlidesStore()
|
|
const { title } = storeToRefs(slidesStore)
|
|
const { title } = storeToRefs(slidesStore)
|
|
@@ -124,12 +125,7 @@ function handleSave() {
|
|
/* 关闭页面 */
|
|
/* 关闭页面 */
|
|
function handleClose() {
|
|
function handleClose() {
|
|
window.close()
|
|
window.close()
|
|
- window.parent.postMessage(
|
|
|
|
- {
|
|
|
|
- api: "iframe_exit",
|
|
|
|
- },
|
|
|
|
- "*"
|
|
|
|
- );
|
|
|
|
|
|
+ iframeExitMes()
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|