chore(custom-element): fix comment typo (#5028) [skip ci]
This commit is contained in:
parent
2d4f455434
commit
772574febb
@ -321,7 +321,7 @@ export class VueElement extends BaseClass {
|
|||||||
// HMR
|
// HMR
|
||||||
if (__DEV__) {
|
if (__DEV__) {
|
||||||
instance.ceReload = newStyles => {
|
instance.ceReload = newStyles => {
|
||||||
// alawys reset styles
|
// always reset styles
|
||||||
if (this._styles) {
|
if (this._styles) {
|
||||||
this._styles.forEach(s => this.shadowRoot!.removeChild(s))
|
this._styles.forEach(s => this.shadowRoot!.removeChild(s))
|
||||||
this._styles.length = 0
|
this._styles.length = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user