parent
f0c770def0
commit
fe0fc8084f
|
@ -386,7 +386,7 @@ Github:[https://github.com/surely-vue/table]
|
|||
```html
|
||||
<script>
|
||||
// custom component
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
name: 'custom-name',
|
||||
setup() {
|
||||
|
|
|
@ -383,7 +383,7 @@ Github:[https://github.com/surely-vue/table]
|
|||
```html
|
||||
<script>
|
||||
// 自定义组件
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
setup() {
|
||||
const formItemContext = Form.useFormItemContext();
|
||||
|
|
|
@ -122,7 +122,7 @@ The second way is to wrap it with a custom component and call `useFormItemContex
|
|||
```html
|
||||
<script>
|
||||
// custom component
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
name: 'custom-name',
|
||||
setup() {
|
||||
|
|
|
@ -121,7 +121,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/ORmcdeaoO/Form.svg
|
|||
```html
|
||||
<script>
|
||||
// 自定义组件
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
setup() {
|
||||
const formItemContext = Form.useFormItemContext();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import type { RefOptionListProps } from '../../vc-select/OptionList';
|
||||
import type { Key } from 'ant-design-vue/es/_util/type';
|
||||
import type { Key } from '../../_util/type';
|
||||
import type { Ref, SetupContext } from 'vue';
|
||||
import { computed, ref, watchEffect } from 'vue';
|
||||
import type { DefaultOptionType, InternalFieldNames, SingleValueType } from '../Cascader';
|
||||
|
|
|
@ -3,7 +3,7 @@ import { computed } from 'vue';
|
|||
import type { DataNode, SimpleModeConfig } from '../interface';
|
||||
import { convertChildrenToData } from '../utils/legacyUtil';
|
||||
import type { DefaultOptionType } from '../TreeSelect';
|
||||
import type { VueNode } from 'ant-design-vue/es/_util/type';
|
||||
import type { VueNode } from '../../_util/type';
|
||||
|
||||
function parseSimpleTreeData(
|
||||
treeData: DataNode[],
|
||||
|
|
|
@ -99,7 +99,7 @@ Major updates after the 3.0 version refactoring include `Tree` `TreeSelect` `Dat
|
|||
```html
|
||||
<script>
|
||||
// custom component
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
name: 'custom-name',
|
||||
setup() {
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
```html
|
||||
<script>
|
||||
// 自定义组件
|
||||
import { Form } from 'ant-desing-vue';
|
||||
import { Form } from 'ant-design-vue';
|
||||
export default {
|
||||
setup() {
|
||||
const formItemContext = Form.useFormItemContext();
|
||||
|
|
Loading…
Reference in New Issue