Skip to content

Commit ce05ce8

Browse files
committed
fix(auto-complete): fix auto-complete docs build error: dead link
1 parent fc1ba62 commit ce05ce8

File tree

2 files changed

+29
-29
lines changed
  • packages/devui-vue/docs

2 files changed

+29
-29
lines changed

packages/devui-vue/docs/components/auto-complete/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -453,23 +453,23 @@ d-auto-complete 参数
453453
| disabledKey | `string` | -- | 可选,禁用单个选项,当传入资源 source 选项类型为对象,比如设置为'disabled',则当对象的 disable 属性为 true 时,比如{ label: xxx, disabled: true },该选项将禁用 | [自定义数据匹配方法](#自定义数据匹配方法) |
454454
| itemTemplate | `slot` | -- | 可选,自定义展示模板。slotProps:{ index: 下标索引, item: 当前项内容 }。 | [自定义模板展示](#自定义模板展示) |
455455
| noResultItemTemplate | `slot` | -- | 可选,没有匹配项的展示结果。slotProps:输入内容。 | [自定义模板展示](#自定义模板展示) |
456-
| formatter | `(item: any) => string` | [`defaultFormatter`](#defaultformatter) | 可选,格式化函数 | [自定义数据匹配方法](#自定义数据匹配方法) |
456+
| formatter | `(item: any) => string` | [`defaultFormatter`](#defaultFormatter) | 可选,格式化函数 | [自定义数据匹配方法](#自定义数据匹配方法) |
457457
| isSearching | `boolean` | false | 可选,是否在搜索中,用于控制 searchingTemplate 是否显示 | [自定义数据匹配方法](#自定义数据匹配方法) |
458458
| searchingTemplate | `slot` | -- | 可选,自定义搜索中显示模板。slotProps:输入内容。 | [自定义数据匹配方法](#自定义数据匹配方法) |
459-
| sceneType | `string` | -- | 可选,值为 'select'、'suggest' | [启用懒加载](demo#auto-lazy-load) |
460-
| searchFn | `(term: string) => Array<any>` | [`defaultSearchFn`](#defaultsearchfn) | 可选,自定义搜索过滤 | [自定义数据匹配方法](#自定义数据匹配方法) |
461-
| tipsText | `string` | '最近输入' | 可选,提示文字 | [设置禁用](demo#auto-disable) |
462-
| latestSource | `Array<any>` | -- | 可选, 最近输入 | [最近输入](demo#auto-latest) |
463-
| valueParser | `(item: any) => any` | [`defaultValueParse`](#defaultvalueparse) | 可选, 对选中后数据进行处理 | [启用懒加载](demo#auto-lazy-load) |
464-
| enableLazyLoad | `boolean` | false | 可选,是否允许懒加载 | [启用懒加载](demo#auto-lazy-load) |
459+
| sceneType | `string` | -- | 可选,值为 'select'、'suggest' | [启用懒加载](#启用懒加载) |
460+
| searchFn | `(term: string) => Array<any>` | [`defaultSearchFn`](#defaultSearchFn) | 可选,自定义搜索过滤 | [自定义数据匹配方法](#自定义数据匹配方法) |
461+
| tipsText | `string` | '最近输入' | 可选,提示文字 | [设置禁用](#设置禁用) |
462+
| latestSource | `Array<any>` | -- | 可选, 最近输入 | [最近输入](#最近输入) |
463+
| valueParser | `(item: any) => any` | [`defaultValueParse`](#defaultValueParse) | 可选, 对选中后数据进行处理 | [懒加载](#懒加载) |
464+
| enableLazyLoad | `boolean` | false | 可选,是否允许懒加载 | [懒加载](#懒加载) |
465465
| dAutoCompleteWidth | `number` | -- | 可选,调整宽度(`px`) |[基本用法](#基本用法)
466466
| showAnimation | `boolean` | true | 可选,是否开启动画 | || | |
467467

468468
d-auto-complete 事件
469469

470470
| 参数 | 类型 | 说明 | 跳转 Demo |
471471
| :-----------------: | :----------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------- |
472-
| loadMore | `EventEmitter<ComponentRef<AutoCompletePopupComponent>>` | 懒加载触发事件,配合`enableLazyLoad`使用,使用`$event.loadFinish()`关闭 loading 状态,其中\$event 为 AutoCompletePopupComponent 的实例 | [启用懒加载](demo#auto-lazy-load) |
472+
| loadMore | `EventEmitter<ComponentRef<AutoCompletePopupComponent>>` | 懒加载触发事件,配合`enableLazyLoad`使用,使用`$event.loadFinish()`关闭 loading 状态,其中\$event 为 AutoCompletePopupComponent 的实例 | [懒加载](#懒加载) |
473473
| selectValue | `EventEmitter<any>` | 可选,选择选项之后的回调函数 | [基本用法](#基本用法) |
474474
| transInputFocusEmit | `EventEmitter<any>` | 可选,Input focus 时回调函数 | [基本用法](#基本用法) |
475475

0 commit comments

Comments
 (0)