🌐 AI搜索 & 代理 主页
Skip to content

Commit d4188b2

Browse files
authored
Update make-icon.js
1 parent 3e5e214 commit d4188b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/icons/helpers/make-icon.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,17 @@ const BVIconBase = {
9494
'svg',
9595
mergeData(
9696
{
97-
staticClass: 'bi',
9897
class: { [`text-${props.variant}`]: !!props.variant },
9998
attrs: baseAttrs,
10099
style: { fontSize: fontScale === 1 ? null : `${fontScale * 100}%` }
101100
},
102101
// Merge in user supplied data
103102
data,
104103
// These cannot be overridden by users
105-
{ attrs: { xmlns: 'http://www.w3.org/2000/svg', fill: 'currentColor' } }
104+
{
105+
staticClass: 'b-icon bi',
106+
attrs: { xmlns: 'http://www.w3.org/2000/svg', fill: 'currentColor' }
107+
}
106108
),
107109
[$inner]
108110
)

0 commit comments

Comments
 (0)