mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
NoticeBar: add test cases
This commit is contained in:
@@ -21,9 +21,7 @@ Vue.component(NoticeBar.name, NoticeBar);
|
||||
|
||||
:::demo 基础用法
|
||||
```html
|
||||
<van-notice-bar>
|
||||
足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。
|
||||
</van-notice-bar>
|
||||
<van-notice-bar text="足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。">
|
||||
```
|
||||
:::
|
||||
|
||||
|
Reference in New Issue
Block a user