Pārlūkot izejas kodu

2.0.5 修复发卡机发卡的发卡方法写错问题

liuyanpeng 4 mēneši atpakaļ
vecāks
revīzija
a599d64735
5 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 1 1
      README.md
  2. 1 1
      bat/publish.bat
  3. 1 1
      bat/publish.sh
  4. 3 3
      package.json
  5. 1 1
      packages/print/src/WriteEpc.vue

+ 1 - 1
README.md

@@ -33,4 +33,4 @@ npm publish
 * 2、一定不要忘记在项目部署时更改 package.json 里的版本;
 
 ### 项目版本详情
-见 [Configuration Reference](http://wuzhixin.vip:4873).
+见 [Configuration Reference](https://npm.leanwo.com).

+ 1 - 1
bat/publish.bat

@@ -1,5 +1,5 @@
 set current_path="%~dp0"
 cd %current_path%
 cd ..
-npm publish --registry http://wuzhixin.vip:4873/
+npm publish --registry https://npm.leanwo.com/
 pause

+ 1 - 1
bat/publish.sh

@@ -1,5 +1,5 @@
 set current_path="%~dp0"
 cd %current_path%
 cd ..
-npm publish --registry http://wuzhixin.vip:4873/
+npm publish --registry https://npm.leanwo.com/
 pause

+ 3 - 3
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pc-component-v3",
-  "version": "2.0.4",
+  "version": "2.0.5",
   "description": "",
   "main": "dist/pc-component-v3.js",
   "scripts": {
@@ -8,7 +8,7 @@
     "build": "cross-env NODE_ENV=production webpack --mode=production --config webpack.prod.js --progress",
     "lib": "cross-env NODE_ENV=production webpack --progress --config webpack.lib.js",
     "test": "jest",
-    "pub": "npm publish --registry http://wuzhixin.vip:4873/"
+    "pub": "npm publish --registry https://npm.leanwo.com/"
   },
   "directories": {
     "dist": "dist"
@@ -52,6 +52,6 @@
   },
   "publishConfig": {
     "access": "public",
-    "registry": "http://wuzhixin.vip:4873/"
+    "registry": "https://npm.leanwo.com/"
   }
 }

+ 1 - 1
packages/print/src/WriteEpc.vue

@@ -12,7 +12,7 @@
         </a-form-item>
 
         <div class="action-buttons">
-          <a-button type="primary" @click="printSingleEpc(lastWriteEpc)">打印</a-button>
+          <a-button type="primary" @click="writeSingleEpc(lastWriteEpc)">发卡</a-button>
           <a-button @click="restoreEpc">重置</a-button>
           <a-button @click="readEpc">读取</a-button>
         </div>