Skip to content

Commit

Permalink
fix: sync newest change
Browse files Browse the repository at this point in the history
  • Loading branch information
chilingling committed Jul 1, 2024
1 parent c67f031 commit a240bee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/design-core/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
import { watch, onUnmounted } from 'vue'
import {
getMergeRegistry,
getPluginApi,
getMetaApi,
useModal,
useApp,
useNotify,
useResource,
useCanvas
} from '@opentiny/tiny-engine-meta-register'
import { isVsCodeEnv } from '@opentiny/tiny-engine-controller/js/environments'
import { isVsCodeEnv } from '@opentiny/tiny-engine-common/js/environments'
import { useBroadcastChannel } from '@vueuse/core'
import { constants } from '@opentiny/tiny-engine-utils'
Expand All @@ -23,8 +23,8 @@ const { message } = useModal()
export default {
setup() {
const registry = getMergeRegistry()
const materialsApi = getPluginApi('engine.plugins.materials')
const blockApi = getPluginApi('engine.plugins.blockmanage')
const materialsApi = getMetaApi('engine.plugins.materials')
const blockApi = getMetaApi('engine.plugins.blockmanage')
// 此处接收画布内部的错误和警告提示
const { data } = useBroadcastChannel({ name: BROADCAST_CHANNEL.Notify })
Expand Down

0 comments on commit a240bee

Please sign in to comment.