bm-admin-ui 1.1.20-alpha → 1.2.22-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
|
-
|
|
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
|
-
|
|
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: {
|
|
@@ -672,6 +672,7 @@ const label$e = '数字输入框';
|
|
|
672
672
|
const fieldsMap$e = {
|
|
673
673
|
'title.title': 'title.title',
|
|
674
674
|
'props.placeholder': 'props.placeholder',
|
|
675
|
+
'props.precision': 'props.precision',
|
|
675
676
|
value: 'value',
|
|
676
677
|
'config.fieldRatio': 'config.fieldRatio',
|
|
677
678
|
'config.count': 'config.count',
|
|
@@ -780,6 +781,7 @@ var numInput = {
|
|
|
780
781
|
},
|
|
781
782
|
props: {
|
|
782
783
|
placeholder: rule.props.placeholder,
|
|
784
|
+
precision: rule.props.precision,
|
|
783
785
|
},
|
|
784
786
|
value: rule.value,
|
|
785
787
|
config: {
|
|
@@ -4153,8 +4155,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4153
4155
|
delete cacheProps[targetRule.field];
|
|
4154
4156
|
if (targetRule.field === activeRule.value.field) {
|
|
4155
4157
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
+
const next = parentList[newIndex];
|
|
4159
|
+
if (newIndex >= 0 && !next?.config?.immutable) {
|
|
4160
|
+
setActiveRule(next);
|
|
4158
4161
|
} else if (parentRule) {
|
|
4159
4162
|
setActiveRule(parentRule);
|
|
4160
4163
|
} else {
|
|
@@ -809,9 +809,14 @@ var file = {
|
|
|
809
809
|
{
|
|
810
810
|
required: data.effect.required,
|
|
811
811
|
type: 'array',
|
|
812
|
-
|
|
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
|
-
|
|
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: {
|
|
@@ -682,6 +682,7 @@ const label$e = '数字输入框';
|
|
|
682
682
|
const fieldsMap$e = {
|
|
683
683
|
'title.title': 'title.title',
|
|
684
684
|
'props.placeholder': 'props.placeholder',
|
|
685
|
+
'props.precision': 'props.precision',
|
|
685
686
|
value: 'value',
|
|
686
687
|
'config.fieldRatio': 'config.fieldRatio',
|
|
687
688
|
'config.count': 'config.count',
|
|
@@ -790,6 +791,7 @@ var numInput = {
|
|
|
790
791
|
},
|
|
791
792
|
props: {
|
|
792
793
|
placeholder: rule.props.placeholder,
|
|
794
|
+
precision: rule.props.precision,
|
|
793
795
|
},
|
|
794
796
|
value: rule.value,
|
|
795
797
|
config: {
|
|
@@ -4163,8 +4165,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4163
4165
|
delete cacheProps[targetRule.field];
|
|
4164
4166
|
if (targetRule.field === activeRule.value.field) {
|
|
4165
4167
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
+
const next = parentList[newIndex];
|
|
4169
|
+
if (newIndex >= 0 && !next?.config?.immutable) {
|
|
4170
|
+
setActiveRule(next);
|
|
4168
4171
|
} else if (parentRule) {
|
|
4169
4172
|
setActiveRule(parentRule);
|
|
4170
4173
|
} else {
|