doc: update typo

pull/5317/head 3.0.0-beta.11
tangjinzhou 2022-02-28 22:17:50 +08:00
parent f0c770def0
commit fe0fc8084f
8 changed files with 8 additions and 8 deletions

View File

@ -386,7 +386,7 @@ Github[https://github.com/surely-vue/table]
```html ```html
<script> <script>
// custom component // custom component
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
name: 'custom-name', name: 'custom-name',
setup() { setup() {

View File

@ -383,7 +383,7 @@ Github[https://github.com/surely-vue/table]
```html ```html
<script> <script>
// 自定义组件 // 自定义组件
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
setup() { setup() {
const formItemContext = Form.useFormItemContext(); const formItemContext = Form.useFormItemContext();

View File

@ -122,7 +122,7 @@ The second way is to wrap it with a custom component and call `useFormItemContex
```html ```html
<script> <script>
// custom component // custom component
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
name: 'custom-name', name: 'custom-name',
setup() { setup() {

View File

@ -121,7 +121,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/ORmcdeaoO/Form.svg
```html ```html
<script> <script>
// 自定义组件 // 自定义组件
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
setup() { setup() {
const formItemContext = Form.useFormItemContext(); const formItemContext = Form.useFormItemContext();

View File

@ -1,5 +1,5 @@
import type { RefOptionListProps } from '../../vc-select/OptionList'; 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 type { Ref, SetupContext } from 'vue';
import { computed, ref, watchEffect } from 'vue'; import { computed, ref, watchEffect } from 'vue';
import type { DefaultOptionType, InternalFieldNames, SingleValueType } from '../Cascader'; import type { DefaultOptionType, InternalFieldNames, SingleValueType } from '../Cascader';

View File

@ -3,7 +3,7 @@ import { computed } from 'vue';
import type { DataNode, SimpleModeConfig } from '../interface'; import type { DataNode, SimpleModeConfig } from '../interface';
import { convertChildrenToData } from '../utils/legacyUtil'; import { convertChildrenToData } from '../utils/legacyUtil';
import type { DefaultOptionType } from '../TreeSelect'; import type { DefaultOptionType } from '../TreeSelect';
import type { VueNode } from 'ant-design-vue/es/_util/type'; import type { VueNode } from '../../_util/type';
function parseSimpleTreeData( function parseSimpleTreeData(
treeData: DataNode[], treeData: DataNode[],

View File

@ -99,7 +99,7 @@ Major updates after the 3.0 version refactoring include `Tree` `TreeSelect` `Dat
```html ```html
<script> <script>
// custom component // custom component
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
name: 'custom-name', name: 'custom-name',
setup() { setup() {

View File

@ -98,7 +98,7 @@
```html ```html
<script> <script>
// 自定义组件 // 自定义组件
import { Form } from 'ant-desing-vue'; import { Form } from 'ant-design-vue';
export default { export default {
setup() { setup() {
const formItemContext = Form.useFormItemContext(); const formItemContext = Form.useFormItemContext();