搜索结果列表页面开发
This commit is contained in:
15
src/components/Copy/README.md
Normal file
15
src/components/Copy/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|-----------|-----------------------------|---------|-----------|-------|
|
||||
| content | 需要被复制的内容,复制优先级比插槽内容要高 | string | — | '' |
|
||||
| always? | 是否一直显示复制按钮 | boolean | — | false |
|
||||
| showText? | 是否显示文案,插槽内容的显示优先级比content要高 | boolean | — | true |
|
||||
| size? | 图标的size | string | — | '20px' |
|
||||
|
||||
### Slots
|
||||
|
||||
| 参数 | 说明 |
|
||||
|----------|-------------|
|
||||
| default | 文本插槽 |
|
||||
| icon | 复制按钮位置对应的插槽 |
|
||||
Reference in New Issue
Block a user