Просмотр исходного кода

chore(custom-element): fix comment typo (#5028) [skip ci]

n2ptune 4 лет назад
Родитель
Сommit
772574febb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/runtime-dom/src/apiCustomElement.ts

+ 1 - 1
packages/runtime-dom/src/apiCustomElement.ts

@@ -321,7 +321,7 @@ export class VueElement extends BaseClass {
         // HMR
         if (__DEV__) {
           instance.ceReload = newStyles => {
-            // alawys reset styles
+            // always reset styles
             if (this._styles) {
               this._styles.forEach(s => this.shadowRoot!.removeChild(s))
               this._styles.length = 0