ソースを参照

fix(row): fix var declare (#324)

Co-authored-by: linkpan <linkpan@tencent.com>
plq 5 年 前
コミット
85f32b9c6d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/packages/row/row.vue

+ 1 - 1
src/packages/row/row.vue

@@ -43,7 +43,7 @@ export default {
         let tag = slot[i].tag;
         if (typeof tag == 'string') {
           if (tag.indexOf('nut-col') != -1) {
-            var slotElm = slot[i].elm;
+            const slotElm = slot[i].elm;
             slotElm.style.paddingLeft = this.getGutter;
             slotElm.style.paddingRight = this.getGutter;
           }