hanfengcan
hanfengcan
只要是全局注册的组件, 都可以写在type里面, 比如 type: "VxeTable"
哦,那我在测试测试
```vue add get import { nextTick, onBeforeUnmount, onMounted, ref, toRaw, watch } from 'vue' /**@type {import('@form-create/naive-ui').FormRule[]} */ const rule = [ { type: 'group', field: 'msgConf', props: { defaultValue: {...
官网的例子也不行 ```vue value: {{ value.group }} import { onMounted } from 'vue' let fApi = {} let value = {} let options = { onSubmit: (formData) => { alert(JSON.stringify(formData)) },...
> 官网的例子也不行 > > ``` > > > value: {{ value.group }} > > > > > > import { onMounted } from 'vue' > let fApi = {} >...
> 感谢反馈, 我这边检查一下 @hanfengcan 感谢回复。我测试了。如果是naive-ui。这样写,就能正常显示 ``` onMounted(async () => { console.log(fApi.value.setValue) await nextTick() fApi.value.setValue({ group: [{field1: 'aaa', field2: 'sss'}, {field1: 'aaa', field2: 'sss'}] }) }) ``` 这个组件太庞大了,不知道如何定位问题,附上测试代码 [demo.zip](https://github.com/user-attachments/files/15757447/demo.zip)
> ``` > > class="fc" > :rule="itemConf.rule" > :option="itemConf.option" > @update:api="itemConf.fApi = $event" > > > > add > get > > > > > import { nextTick, onBeforeUnmount, onMounted,...
内存不够吧
看看新固件是不是API有发生变化.
还有,看有没有循环之类的在消耗内存