瀏覽代碼

fix typo,styles edit to style

样式属性是`style`而不是`styles`
happy wang 7 年之前
父節點
當前提交
edb2151629
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/utils.js

+ 1 - 1
src/utils/utils.js

@@ -161,7 +161,7 @@ export function formatWan(val) {
       <span>
         {result}
         <span
-          styles={{
+          style={{
             position: 'relative',
             top: -2,
             fontSize: 14,