bm-admin-ui 1.1.20-alpha → 1.1.21-alpha

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.
@@ -795,9 +795,14 @@ var file = {
795
795
  {
796
796
  required: data.effect.required,
797
797
  type: 'array',
798
- len: 1,
798
+ min: 1,
799
799
  message: ((_a = data.effect) === null || _a === void 0 ? void 0 : _a.requiredTip) || '请上传附件',
800
800
  },
801
+ {
802
+ type: 'array',
803
+ len: 1,
804
+ message: '附件数量不能超过1个',
805
+ },
801
806
  ],
802
807
  inject: true,
803
808
  on: {
@@ -837,9 +842,14 @@ var file = {
837
842
  {
838
843
  required: data.effect.required,
839
844
  type: 'array',
840
- len: 1,
845
+ min: 1,
841
846
  message: ((_a = data.effect) === null || _a === void 0 ? void 0 : _a.requiredTip) || '请上传附件',
842
847
  },
848
+ {
849
+ type: 'array',
850
+ len: 1,
851
+ message: '附件数量不能超过1个',
852
+ },
843
853
  ],
844
854
  inject: true,
845
855
  on: {
@@ -809,9 +809,14 @@ var file = {
809
809
  {
810
810
  required: data.effect.required,
811
811
  type: 'array',
812
- len: 1,
812
+ min: 1,
813
813
  message: ((_a = data.effect) === null || _a === void 0 ? void 0 : _a.requiredTip) || '请上传附件',
814
814
  },
815
+ {
816
+ type: 'array',
817
+ len: 1,
818
+ message: '附件数量不能超过1个',
819
+ },
815
820
  ],
816
821
  inject: true,
817
822
  on: {
@@ -851,9 +856,14 @@ var file = {
851
856
  {
852
857
  required: data.effect.required,
853
858
  type: 'array',
854
- len: 1,
859
+ min: 1,
855
860
  message: ((_a = data.effect) === null || _a === void 0 ? void 0 : _a.requiredTip) || '请上传附件',
856
861
  },
862
+ {
863
+ type: 'array',
864
+ len: 1,
865
+ message: '附件数量不能超过1个',
866
+ },
857
867
  ],
858
868
  inject: true,
859
869
  on: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bm-admin-ui",
3
- "version": "1.1.20-alpha",
3
+ "version": "1.1.21-alpha",
4
4
  "private": false,
5
5
  "description": "An Admin Component Library for Bm",
6
6
  "license": "UNLICENSED",