zhl-methods 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # zhl-methods
2
2
 
3
- <!-- npm publish 发布命令 -->
4
-
5
3
  JS 微信小程序 工具类
6
4
 
7
5
  #### 安装
package/VERSION.md CHANGED
@@ -1,7 +1,17 @@
1
1
  # zhl-methods
2
2
 
3
+ npm publish 发布命令
3
4
  版本更新日志
4
5
 
6
+ ### 1.1.17
7
+
8
+ - ScanUDI 方法 日期转换 bug
9
+
10
+ ### 1.1.16
11
+
12
+ - urlQueryToObject url 参数转 Object 方法
13
+ - ScanUDI 方法 日期转换 bug
14
+
5
15
  ### 1.1.14
6
16
 
7
17
  - ScanUDI 方法优化 生产日期到期日期 单独解析 单个解析失败不会影响另外的
package/js/ScanUDI.js CHANGED
@@ -133,6 +133,7 @@ export default class ScanUDI {
133
133
  }
134
134
  date = dayjs("20" + date + "01");
135
135
  }
136
+ date = dayjs(date);
136
137
  if (date.format("YYYY-MM-DD") == "Invalid Date") {
137
138
  this.batch_no = "";
138
139
  this.msg = "警告:批次信息解析失败,请手动填写";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zhl-methods",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "license": "ISC",
5
5
  "dependencies": {
6
6
  "dayjs": "^1.11.15",