parent
ecd46ba23d
commit
da5e5fd4a4
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@bd/core",
|
"name": "@bd/core",
|
||||||
"version": "1.9.4",
|
"version": "1.9.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "百搭UI组件库的核心",
|
"description": "百搭UI组件库的核心",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
|
@ -121,6 +121,7 @@ export class Component extends HTMLElement {
|
||||||
k = boolMap[attrName]
|
k = boolMap[attrName]
|
||||||
} else {
|
} else {
|
||||||
options.attrName = hyphen(k)
|
options.attrName = hyphen(k)
|
||||||
|
k = camelize(k)
|
||||||
}
|
}
|
||||||
this.createProperty(k, options)
|
this.createProperty(k, options)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue