jufubao-admin-library 1.1.92 → 1.1.93

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.
@@ -408,7 +408,7 @@ export default {
408
408
  label: "服务费设置:",
409
409
  ele: "xd-input-unit",
410
410
  valueKey: "fee_value",
411
- value: params.fee_value || "",
411
+ value: params.fee_value==0||params.fee_value?params.fee_value : "",
412
412
  isNumber: true,
413
413
  useCustomRules: false,
414
414
  notice: "仅支持正数,按商品总额x比例值计算(遇小数自动进位)",
@@ -430,9 +430,9 @@ export default {
430
430
  return;
431
431
  }
432
432
  if (flag) {
433
- if (value <= 0) {
433
+ if (value < 0) {
434
434
  flag = false;
435
- callback("服务费必须为正数");
435
+ callback("服务费不能小于0");
436
436
  return;
437
437
  }
438
438
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.92",
3
+ "version": "1.1.93",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {