Replies: 1 comment 6 replies
-
|
在当前组件内应该是无解的。不过可以试试另起一个文件导出 import Component from './component.vue'
import { observer } from '@formily/reactive-vue'
export WrappedComponent = observer(Component) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我看文档上,vue需要通过observer包装组件,但是针对Vue3 的script setup,该怎么实现?
script setup 组件样式:
Beta Was this translation helpful? Give feedback.
All reactions