mirror of https://github.com/vuejs/core.git
fix(custom-element): ignore scoped id
This commit is contained in:
parent
37d2ce5d8e
commit
7f2c505f92
|
@ -331,6 +331,7 @@ export class VueElement extends BaseClass {
|
|||
}
|
||||
|
||||
protected _setAttr(key: string) {
|
||||
if (key.startsWith('data-v-')) return
|
||||
let value = this.hasAttribute(key) ? this.getAttribute(key) : undefined
|
||||
const camelKey = camelize(key)
|
||||
if (this._numberProps && this._numberProps[camelKey]) {
|
||||
|
|
Loading…
Reference in New Issue