mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
docs: select选择器远程选项文档补充
This commit is contained in:
parent
8d111ea976
commit
57be30cf6b
@ -162,6 +162,15 @@
|
|||||||
</template>
|
</template>
|
||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
|
同时在 `src/main.ts` 中需要自定义实现请求
|
||||||
|
```typescript
|
||||||
|
app.use(MagicForm, {
|
||||||
|
request: async (options: any) => {
|
||||||
|
// 自定义请求实现
|
||||||
|
},
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
如果 Select 的绑定值为对象类型,请务必指定 valueKey 作为它的唯一性标识。
|
如果 Select 的绑定值为对象类型,请务必指定 valueKey 作为它的唯一性标识。
|
||||||
:::
|
:::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user