mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Icon): icon demo params adaptive vant weapp (#11851)
* docs(icon): icon demo params adaptive vant weapp * docs(icon): icon demo params adaptive vant weapp --------- Co-authored-by: landluck <liuhaihong@youzan.com>
This commit is contained in:
parent
ef8331bd23
commit
3db8f8a5b4
@ -152,7 +152,7 @@ export default {
|
||||
tag = `${tag} ${option.dot ? 'dot' : ''}`;
|
||||
}
|
||||
if ('badge' in option) {
|
||||
tag = `${tag} badge="${option.badge}"`;
|
||||
tag = `${tag} ${this.isWeapp ? 'info' : 'badge'}="${option.badge}"`;
|
||||
}
|
||||
if ('color' in option) {
|
||||
tag = `${tag} color="${option.color}"`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user