We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a67d5fb commit bf5f681Copy full SHA for bf5f681
1 file changed
packages/settings/events/src/components/BindEvents.vue
@@ -86,7 +86,8 @@ import {
86
useBlock,
87
useMaterial,
88
getMetaApi,
89
- META_APP
+ META_APP,
90
+ useMessage
91
} from '@opentiny/tiny-engine-meta-register'
92
import i18n from '@opentiny/tiny-engine-common/js/i18n'
93
import { BlockLinkEvent, SvgButton } from '@opentiny/tiny-engine-common'
@@ -190,6 +191,8 @@ export default {
190
191
192
if (keys.indexOf(action.eventName) > -1) {
193
delete pageState.currentSchema.props[action.eventName]
194
+
195
+ useMessage().publish({ topic: 'schemaChange', data: { props: pageState.currentSchema.props } })
196
}
197
198
0 commit comments