소스 검색

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,