docs(Search): update document (#4414)
This commit is contained in:
@@ -13,7 +13,7 @@ Vue.use(Tag);
|
||||
|
||||
### 基础用法
|
||||
|
||||
通过 type 属性控制 Tag 颜色,默认为灰色
|
||||
通过`type`属性控制标签颜色,默认为灰色
|
||||
|
||||
```html
|
||||
<van-tag>标签</van-tag>
|
||||
|
||||
+1
-1
@@ -11,8 +11,8 @@ export type TagType = 'default' | 'primary' | 'success' | 'danger';
|
||||
export type TagSize = 'large' | 'medium';
|
||||
|
||||
export type TagProps = {
|
||||
type: TagType;
|
||||
size?: TagSize;
|
||||
type?: TagType;
|
||||
mark?: boolean;
|
||||
color?: string;
|
||||
plain?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user