ZaiZai 1 年之前
父節點
當前提交
d5db39d2b9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/hc-row-col/row.vue

+ 2 - 2
components/hc-row-col/row.vue

@@ -46,10 +46,10 @@ const styleVal = ref({})
 function setStyleValue(gutter, justify, align) {
     const gutters = Number(gutter)
     styleVal.value['--hc-row-justify'] = justify ? justify : 'start'
-    styleVal.value['--hu-row-align'] = align ? align : 'start'
+    styleVal.value['--hc-row-align'] = align ? align : 'start'
     if (gutters !== 0) {
         const num = Math.floor(gutters / -2) + (gutters % 2) + 'px'
-        styleVal.value['--hu-row-margin'] = num ? num : '0'
+        styleVal.value['--hc-row-margin'] = num ? num : '0'
     }
 }
 </script>