Skip to content

Commit

Permalink
docs: ✏️ 移除文档中 Search 组件未支持的插槽
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqingkai authored and Moonofweisheng committed Oct 30, 2023
1 parent bad5d3f commit 325e140
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 295 deletions.
4 changes: 2 additions & 2 deletions docs/component/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function changeSearchType({ item, index }) {
<wd-search placeholder="请输入订单号/订单名称" cancel-txt="搜索" />
```

通过设置 `use-action-slot` 来自定义输入框左边内容,设置`use-action-slot` 使用自定义内容替换取消按钮。
<!-- 通过设置 `use-action-slot` 来自定义输入框左边内容,设置`use-action-slot` 使用自定义内容替换取消按钮。
```html
<wd-search use-label-slot use-action-slot>
Expand All @@ -152,7 +152,7 @@ function changeSearchType({ item, index }) {
<view style="padding: 5px 10px;color: #ff0000;">右侧</view>
</template>
</wd-search>
```
``` -->

## Attributes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ import { computed, ref, watch } from 'vue'
import { requestAnimationFrame } from '../common/util'
interface Props {
useActionSlot?: boolean
useLabelSlot?: boolean
// useActionSlot?: boolean
// useLabelSlot?: boolean
userSuffixSlot?: boolean
placeholder?: string
cancelTxt?: string
Expand All @@ -80,8 +80,8 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {
modelValue: '',
customClass: '',
useActionSlot: false,
useLabelSlot: false,
// useActionSlot: false,
// useLabelSlot: false,
userSuffixSlot: false,
placeholder: '搜索',
cancelTxt: '取消',
Expand Down
18 changes: 0 additions & 18 deletions src/uni_modules/wot-design-uni/components/wd-table-col/API.md

This file was deleted.

36 changes: 0 additions & 36 deletions src/uni_modules/wot-design-uni/components/wd-table-col/INDEX.md

This file was deleted.

This file was deleted.

40 changes: 0 additions & 40 deletions src/uni_modules/wot-design-uni/components/wd-table/API.md

This file was deleted.

187 changes: 0 additions & 187 deletions src/uni_modules/wot-design-uni/components/wd-table/INDEX.md

This file was deleted.

4 changes: 0 additions & 4 deletions src/uni_modules/wot-design-uni/components/wd-table/README.md

This file was deleted.

0 comments on commit 325e140

Please sign in to comment.