diff --git a/frontend/src/components/canvas/components/Editor/FrameLinks.vue b/frontend/src/components/canvas/components/Editor/FrameLinks.vue index 351728af6a..c0e3b21497 100644 --- a/frontend/src/components/canvas/components/Editor/FrameLinks.vue +++ b/frontend/src/components/canvas/components/Editor/FrameLinks.vue @@ -28,6 +28,7 @@ import { mapState } from 'vuex' import { deepCopy } from '@/components/canvas/utils/utils' import { checkAddHttp } from '@/utils/urlUtils' +import bus from '@/utils/bus' export default { props: { @@ -73,6 +74,7 @@ export default { this.linkInfoTemp.src = checkAddHttp(this.linkInfoTemp.src) this.curComponent.frameLinks = this.linkInfoTemp this.$store.state.styleChangeTimes++ + bus.$emit('frameLinksChange-' + this.curComponent.id) this.popoverClose() }, onClose() { diff --git a/frontend/src/components/canvas/components/Editor/VideoLinks.vue b/frontend/src/components/canvas/components/Editor/VideoLinks.vue index 616cead784..c839335f03 100644 --- a/frontend/src/components/canvas/components/Editor/VideoLinks.vue +++ b/frontend/src/components/canvas/components/Editor/VideoLinks.vue @@ -43,6 +43,7 @@ import { mapState } from 'vuex' import { deepCopy } from '@/components/canvas/utils/utils' import { checkAddHttp } from '@/utils/urlUtils' +import bus from "@/utils/bus"; export default { props: { @@ -88,6 +89,7 @@ export default { this.linkInfoTemp[this.linkInfoTemp.videoType].sources[0].src = checkAddHttp(this.linkInfoTemp[this.linkInfoTemp.videoType].sources[0].src) this.curComponent.videoLinks = this.linkInfoTemp this.$store.state.styleChangeTimes++ + bus.$emit('videoLinksChange-' + this.curComponent.id) this.popoverClose() }, onClose() { diff --git a/frontend/src/components/canvas/custom-component/DeFrame.vue b/frontend/src/components/canvas/custom-component/DeFrame.vue index 44f412cf75..dc27903414 100644 --- a/frontend/src/components/canvas/custom-component/DeFrame.vue +++ b/frontend/src/components/canvas/custom-component/DeFrame.vue @@ -1,7 +1,7 @@