Browse Source

修改纰漏

胡家华 5 years ago
parent
commit
747b5d6689
1 changed files with 3 additions and 2 deletions
  1. 3 2
      README.md

+ 3 - 2
README.md

4
 > tips: 第一个不成熟的库,谨慎使用!成熟后将迁移至github
4
 > tips: 第一个不成熟的库,谨慎使用!成熟后将迁移至github
5
 
5
 
6
 #### 安装 INSTALL
6
 #### 安装 INSTALL
7
-`npm install mall_utils`
7
+`npm i mall_utils_pro`
8
 
8
 
9
 or
9
 or
10
 
10
 
29
 #### Usage
29
 #### Usage
30
 
30
 
31
 ```
31
 ```
32
+// in JSX
32
 import { showSaleNumText } from 'mall_utils_pro'
33
 import { showSaleNumText } from 'mall_utils_pro'
33
-<span>showSaleNumText(100000000)</span> // "10000.00万"
34
+<span>{ showSaleNumText(100000000) }</span> // "10000.00万"
34
 ```
35
 ```