@panpanzhao/component-ui 1.24.1218 → 1.24.1225
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/lib/component-ui.common.js +49 -32
- package/lib/components/form-input.js +46 -28
- package/lib/components/form-item.js +3 -4
- package/lib/index.js +1 -1
- package/package.json +1 -2
|
@@ -2902,8 +2902,8 @@ var Cascader_component = normalizeComponent(
|
|
|
2902
2902
|
)
|
|
2903
2903
|
|
|
2904
2904
|
/* harmony default export */ var Cascader = (Cascader_component.exports);
|
|
2905
|
-
// CONCATENATED MODULE: ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=
|
|
2906
|
-
var
|
|
2905
|
+
// CONCATENATED MODULE: ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=df02c66e
|
|
2906
|
+
var CascaderAddrvue_type_template_id_df02c66e_render = function render() {
|
|
2907
2907
|
var _vm = this,
|
|
2908
2908
|
_c = _vm._self._c
|
|
2909
2909
|
return _c(
|
|
@@ -2966,11 +2966,11 @@ var CascaderAddrvue_type_template_id_12c36b3c_render = function render() {
|
|
|
2966
2966
|
]
|
|
2967
2967
|
)
|
|
2968
2968
|
}
|
|
2969
|
-
var
|
|
2970
|
-
|
|
2969
|
+
var CascaderAddrvue_type_template_id_df02c66e_staticRenderFns = []
|
|
2970
|
+
CascaderAddrvue_type_template_id_df02c66e_render._withStripped = true
|
|
2971
2971
|
|
|
2972
2972
|
|
|
2973
|
-
// CONCATENATED MODULE: ./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=
|
|
2973
|
+
// CONCATENATED MODULE: ./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=df02c66e
|
|
2974
2974
|
|
|
2975
2975
|
// CONCATENATED MODULE: ./node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.23.9_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=script&lang=js
|
|
2976
2976
|
|
|
@@ -3043,13 +3043,30 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
3043
3043
|
watch: {
|
|
3044
3044
|
value: {
|
|
3045
3045
|
handler: function handler(val) {
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3046
|
+
var _this$_form;
|
|
3047
|
+
var provinceCodeVal = val == null ? void 0 : val[this._fieldProps['provinceCode']];
|
|
3048
|
+
var cityCodeVal = val == null ? void 0 : val[this._fieldProps['cityCode']];
|
|
3049
|
+
var countyCodeVal = val == null ? void 0 : val[this._fieldProps['countyCode']];
|
|
3050
|
+
var provinceNameVal = val == null ? void 0 : val[this._fieldProps['provinceName']];
|
|
3051
|
+
var cityNameVal = val == null ? void 0 : val[this._fieldProps['cityName']];
|
|
3052
|
+
var countyNameVal = val == null ? void 0 : val[this._fieldProps['countyName']];
|
|
3053
|
+
var addressVal = val == null ? void 0 : val[this._fieldProps['address']];
|
|
3054
|
+
this.valueCached['provinceCode'] = provinceCodeVal;
|
|
3055
|
+
this.valueCached['cityCode'] = cityCodeVal;
|
|
3056
|
+
this.valueCached['countyCode'] = countyCodeVal;
|
|
3057
|
+
this.valueCached['provinceName'] = provinceNameVal;
|
|
3058
|
+
this.valueCached['cityName'] = cityNameVal;
|
|
3059
|
+
this.valueCached['countyName'] = countyNameVal;
|
|
3060
|
+
this.valueCached['address'] = addressVal;
|
|
3061
|
+
if ((_this$_form = this._form) != null && _this$_form.formModel) {
|
|
3062
|
+
this._form.formModel[this._fieldProps['provinceCode']] = provinceCodeVal;
|
|
3063
|
+
this._form.formModel[this._fieldProps['cityCode']] = cityCodeVal;
|
|
3064
|
+
this._form.formModel[this._fieldProps['countyCode']] = countyCodeVal;
|
|
3065
|
+
this._form.formModel[this._fieldProps['provinceName']] = provinceNameVal;
|
|
3066
|
+
this._form.formModel[this._fieldProps['cityName']] = cityNameVal;
|
|
3067
|
+
this._form.formModel[this._fieldProps['countyName']] = countyNameVal;
|
|
3068
|
+
this._form.formModel[this._fieldProps['address']] = addressVal;
|
|
3069
|
+
}
|
|
3053
3070
|
},
|
|
3054
3071
|
deep: true
|
|
3055
3072
|
},
|
|
@@ -3169,11 +3186,10 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
3169
3186
|
}
|
|
3170
3187
|
},
|
|
3171
3188
|
created: function created() {
|
|
3172
|
-
var _this$
|
|
3189
|
+
var _this$_form2;
|
|
3173
3190
|
//设置为可响应数据
|
|
3174
|
-
this.initVal(this == null || (_this$
|
|
3191
|
+
this.initVal(this == null || (_this$_form2 = this._form) == null ? void 0 : _this$_form2.formModel);
|
|
3175
3192
|
this.initVal(this.value);
|
|
3176
|
-
debugger;
|
|
3177
3193
|
},
|
|
3178
3194
|
mounted: function mounted() {
|
|
3179
3195
|
this.initApi();
|
|
@@ -3227,7 +3243,7 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
3227
3243
|
});
|
|
3228
3244
|
},
|
|
3229
3245
|
cascaderChange: function cascaderChange(val) {
|
|
3230
|
-
var _nodes$, _this$
|
|
3246
|
+
var _nodes$, _this$_form3, _this$_form4;
|
|
3231
3247
|
var nodes = this.$refs.cascaderRef.getCheckedNodes();
|
|
3232
3248
|
var pathLabels = nodes == null || (_nodes$ = nodes[0]) == null ? void 0 : _nodes$.pathLabels;
|
|
3233
3249
|
this.valueCached.provinceCode = val[0];
|
|
@@ -3236,23 +3252,25 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
3236
3252
|
this.valueCached.cityName = pathLabels == null ? void 0 : pathLabels[1];
|
|
3237
3253
|
this.valueCached.countyCode = val[2];
|
|
3238
3254
|
this.valueCached.countyName = pathLabels == null ? void 0 : pathLabels[2];
|
|
3239
|
-
this.valueCached.address = this.valueCached.address || ((_this$
|
|
3255
|
+
this.valueCached.address = this.valueCached.address || ((_this$_form3 = this._form) == null || (_this$_form3 = _this$_form3.formModel) == null ? void 0 : _this$_form3[this._fieldProps['address']]);
|
|
3240
3256
|
this.$emit("change", this.valueCached);
|
|
3241
|
-
|
|
3257
|
+
this.$emit("cascaderChange", val, this.valueCached);
|
|
3258
|
+
if (this != null && (_this$_form4 = this._form) != null && _this$_form4.formModel) {
|
|
3242
3259
|
Object.assign(this._form.formModel, this.valueCached);
|
|
3243
3260
|
}
|
|
3244
3261
|
},
|
|
3245
3262
|
inputChange: function inputChange(val) {
|
|
3246
|
-
var _this$
|
|
3247
|
-
this.valueCached.provinceCode = this.valueCached.provinceCode || ((_this$
|
|
3248
|
-
this.valueCached.provinceName = this.valueCached.provinceName || ((_this$
|
|
3249
|
-
this.valueCached.cityCode = this.valueCached.cityCode || ((_this$
|
|
3250
|
-
this.valueCached.cityName = this.valueCached.cityName || ((_this$
|
|
3251
|
-
this.valueCached.countyCode = this.valueCached.countyCode || ((_this$
|
|
3252
|
-
this.valueCached.countyName = this.valueCached.provinceCode || ((_this$
|
|
3263
|
+
var _this$_form5, _this$_form6, _this$_form7, _this$_form8, _this$_form9, _this$_form10, _this$_form11;
|
|
3264
|
+
this.valueCached.provinceCode = this.valueCached.provinceCode || ((_this$_form5 = this._form) == null || (_this$_form5 = _this$_form5.formModel) == null ? void 0 : _this$_form5[this._fieldProps['provinceCode']]);
|
|
3265
|
+
this.valueCached.provinceName = this.valueCached.provinceName || ((_this$_form6 = this._form) == null || (_this$_form6 = _this$_form6.formModel) == null ? void 0 : _this$_form6[this._fieldProps['provinceName']]);
|
|
3266
|
+
this.valueCached.cityCode = this.valueCached.cityCode || ((_this$_form7 = this._form) == null || (_this$_form7 = _this$_form7.formModel) == null ? void 0 : _this$_form7[this._fieldProps['cityCode']]);
|
|
3267
|
+
this.valueCached.cityName = this.valueCached.cityName || ((_this$_form8 = this._form) == null || (_this$_form8 = _this$_form8.formModel) == null ? void 0 : _this$_form8[this._fieldProps['cityName']]);
|
|
3268
|
+
this.valueCached.countyCode = this.valueCached.countyCode || ((_this$_form9 = this._form) == null || (_this$_form9 = _this$_form9.formModel) == null ? void 0 : _this$_form9[this._fieldProps['countyCode']]);
|
|
3269
|
+
this.valueCached.countyName = this.valueCached.provinceCode || ((_this$_form10 = this._form) == null || (_this$_form10 = _this$_form10.formModel) == null ? void 0 : _this$_form10[this._fieldProps['countyName']]);
|
|
3253
3270
|
this.valueCached.address = val;
|
|
3254
3271
|
this.$emit("change", this.valueCached);
|
|
3255
|
-
|
|
3272
|
+
this.$emit("inputChange", val, this.valueCached);
|
|
3273
|
+
if (this != null && (_this$_form11 = this._form) != null && _this$_form11.formModel) {
|
|
3256
3274
|
this._form.formModel[this._fieldProps['address']] = val;
|
|
3257
3275
|
}
|
|
3258
3276
|
}
|
|
@@ -3270,8 +3288,8 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
3270
3288
|
|
|
3271
3289
|
var CascaderAddr_component = normalizeComponent(
|
|
3272
3290
|
item_CascaderAddrvue_type_script_lang_js,
|
|
3273
|
-
|
|
3274
|
-
|
|
3291
|
+
CascaderAddrvue_type_template_id_df02c66e_render,
|
|
3292
|
+
CascaderAddrvue_type_template_id_df02c66e_staticRenderFns,
|
|
3275
3293
|
false,
|
|
3276
3294
|
null,
|
|
3277
3295
|
null,
|
|
@@ -4400,10 +4418,9 @@ var form_input_default = /*#__PURE__*/__webpack_require__.n(form_input_);
|
|
|
4400
4418
|
return rulesList.filter(function (item) {
|
|
4401
4419
|
if (typeof item.disabled === "function") {
|
|
4402
4420
|
return item.disabled.call(_this, {
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
triggerFormConfig: _this.form.formItemLayout
|
|
4421
|
+
form: _this.form,
|
|
4422
|
+
formModel: _this.form.formModel,
|
|
4423
|
+
config: _this.config
|
|
4407
4424
|
});
|
|
4408
4425
|
}
|
|
4409
4426
|
return item.disabled !== true;
|
|
@@ -2395,8 +2395,8 @@ var Cascader_component = Object(componentNormalizer["a" /* default */])(
|
|
|
2395
2395
|
)
|
|
2396
2396
|
|
|
2397
2397
|
/* harmony default export */ var Cascader = (Cascader_component.exports);
|
|
2398
|
-
// CONCATENATED MODULE: ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=
|
|
2399
|
-
var
|
|
2398
|
+
// CONCATENATED MODULE: ./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=df02c66e
|
|
2399
|
+
var CascaderAddrvue_type_template_id_df02c66e_render = function render() {
|
|
2400
2400
|
var _vm = this,
|
|
2401
2401
|
_c = _vm._self._c
|
|
2402
2402
|
return _c(
|
|
@@ -2459,11 +2459,11 @@ var CascaderAddrvue_type_template_id_12c36b3c_render = function render() {
|
|
|
2459
2459
|
]
|
|
2460
2460
|
)
|
|
2461
2461
|
}
|
|
2462
|
-
var
|
|
2463
|
-
|
|
2462
|
+
var CascaderAddrvue_type_template_id_df02c66e_staticRenderFns = []
|
|
2463
|
+
CascaderAddrvue_type_template_id_df02c66e_render._withStripped = true
|
|
2464
2464
|
|
|
2465
2465
|
|
|
2466
|
-
// CONCATENATED MODULE: ./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=
|
|
2466
|
+
// CONCATENATED MODULE: ./src/components/form/src/item/CascaderAddr.vue?vue&type=template&id=df02c66e
|
|
2467
2467
|
|
|
2468
2468
|
// CONCATENATED MODULE: ./node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.23.9_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_css-loader@2.1.1_lodash@4.17.21_vue-template-compiler@2.7.16_webpack@4.47.0/node_modules/vue-loader/lib??vue-loader-options!./src/components/form/src/item/CascaderAddr.vue?vue&type=script&lang=js
|
|
2469
2469
|
|
|
@@ -2536,13 +2536,30 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
2536
2536
|
watch: {
|
|
2537
2537
|
value: {
|
|
2538
2538
|
handler: function handler(val) {
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2539
|
+
var _this$_form;
|
|
2540
|
+
var provinceCodeVal = val == null ? void 0 : val[this._fieldProps['provinceCode']];
|
|
2541
|
+
var cityCodeVal = val == null ? void 0 : val[this._fieldProps['cityCode']];
|
|
2542
|
+
var countyCodeVal = val == null ? void 0 : val[this._fieldProps['countyCode']];
|
|
2543
|
+
var provinceNameVal = val == null ? void 0 : val[this._fieldProps['provinceName']];
|
|
2544
|
+
var cityNameVal = val == null ? void 0 : val[this._fieldProps['cityName']];
|
|
2545
|
+
var countyNameVal = val == null ? void 0 : val[this._fieldProps['countyName']];
|
|
2546
|
+
var addressVal = val == null ? void 0 : val[this._fieldProps['address']];
|
|
2547
|
+
this.valueCached['provinceCode'] = provinceCodeVal;
|
|
2548
|
+
this.valueCached['cityCode'] = cityCodeVal;
|
|
2549
|
+
this.valueCached['countyCode'] = countyCodeVal;
|
|
2550
|
+
this.valueCached['provinceName'] = provinceNameVal;
|
|
2551
|
+
this.valueCached['cityName'] = cityNameVal;
|
|
2552
|
+
this.valueCached['countyName'] = countyNameVal;
|
|
2553
|
+
this.valueCached['address'] = addressVal;
|
|
2554
|
+
if ((_this$_form = this._form) != null && _this$_form.formModel) {
|
|
2555
|
+
this._form.formModel[this._fieldProps['provinceCode']] = provinceCodeVal;
|
|
2556
|
+
this._form.formModel[this._fieldProps['cityCode']] = cityCodeVal;
|
|
2557
|
+
this._form.formModel[this._fieldProps['countyCode']] = countyCodeVal;
|
|
2558
|
+
this._form.formModel[this._fieldProps['provinceName']] = provinceNameVal;
|
|
2559
|
+
this._form.formModel[this._fieldProps['cityName']] = cityNameVal;
|
|
2560
|
+
this._form.formModel[this._fieldProps['countyName']] = countyNameVal;
|
|
2561
|
+
this._form.formModel[this._fieldProps['address']] = addressVal;
|
|
2562
|
+
}
|
|
2546
2563
|
},
|
|
2547
2564
|
deep: true
|
|
2548
2565
|
},
|
|
@@ -2662,11 +2679,10 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
2662
2679
|
}
|
|
2663
2680
|
},
|
|
2664
2681
|
created: function created() {
|
|
2665
|
-
var _this$
|
|
2682
|
+
var _this$_form2;
|
|
2666
2683
|
//设置为可响应数据
|
|
2667
|
-
this.initVal(this == null || (_this$
|
|
2684
|
+
this.initVal(this == null || (_this$_form2 = this._form) == null ? void 0 : _this$_form2.formModel);
|
|
2668
2685
|
this.initVal(this.value);
|
|
2669
|
-
debugger;
|
|
2670
2686
|
},
|
|
2671
2687
|
mounted: function mounted() {
|
|
2672
2688
|
this.initApi();
|
|
@@ -2720,7 +2736,7 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
2720
2736
|
});
|
|
2721
2737
|
},
|
|
2722
2738
|
cascaderChange: function cascaderChange(val) {
|
|
2723
|
-
var _nodes$, _this$
|
|
2739
|
+
var _nodes$, _this$_form3, _this$_form4;
|
|
2724
2740
|
var nodes = this.$refs.cascaderRef.getCheckedNodes();
|
|
2725
2741
|
var pathLabels = nodes == null || (_nodes$ = nodes[0]) == null ? void 0 : _nodes$.pathLabels;
|
|
2726
2742
|
this.valueCached.provinceCode = val[0];
|
|
@@ -2729,23 +2745,25 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
2729
2745
|
this.valueCached.cityName = pathLabels == null ? void 0 : pathLabels[1];
|
|
2730
2746
|
this.valueCached.countyCode = val[2];
|
|
2731
2747
|
this.valueCached.countyName = pathLabels == null ? void 0 : pathLabels[2];
|
|
2732
|
-
this.valueCached.address = this.valueCached.address || ((_this$
|
|
2748
|
+
this.valueCached.address = this.valueCached.address || ((_this$_form3 = this._form) == null || (_this$_form3 = _this$_form3.formModel) == null ? void 0 : _this$_form3[this._fieldProps['address']]);
|
|
2733
2749
|
this.$emit("change", this.valueCached);
|
|
2734
|
-
|
|
2750
|
+
this.$emit("cascaderChange", val, this.valueCached);
|
|
2751
|
+
if (this != null && (_this$_form4 = this._form) != null && _this$_form4.formModel) {
|
|
2735
2752
|
Object.assign(this._form.formModel, this.valueCached);
|
|
2736
2753
|
}
|
|
2737
2754
|
},
|
|
2738
2755
|
inputChange: function inputChange(val) {
|
|
2739
|
-
var _this$
|
|
2740
|
-
this.valueCached.provinceCode = this.valueCached.provinceCode || ((_this$
|
|
2741
|
-
this.valueCached.provinceName = this.valueCached.provinceName || ((_this$
|
|
2742
|
-
this.valueCached.cityCode = this.valueCached.cityCode || ((_this$
|
|
2743
|
-
this.valueCached.cityName = this.valueCached.cityName || ((_this$
|
|
2744
|
-
this.valueCached.countyCode = this.valueCached.countyCode || ((_this$
|
|
2745
|
-
this.valueCached.countyName = this.valueCached.provinceCode || ((_this$
|
|
2756
|
+
var _this$_form5, _this$_form6, _this$_form7, _this$_form8, _this$_form9, _this$_form10, _this$_form11;
|
|
2757
|
+
this.valueCached.provinceCode = this.valueCached.provinceCode || ((_this$_form5 = this._form) == null || (_this$_form5 = _this$_form5.formModel) == null ? void 0 : _this$_form5[this._fieldProps['provinceCode']]);
|
|
2758
|
+
this.valueCached.provinceName = this.valueCached.provinceName || ((_this$_form6 = this._form) == null || (_this$_form6 = _this$_form6.formModel) == null ? void 0 : _this$_form6[this._fieldProps['provinceName']]);
|
|
2759
|
+
this.valueCached.cityCode = this.valueCached.cityCode || ((_this$_form7 = this._form) == null || (_this$_form7 = _this$_form7.formModel) == null ? void 0 : _this$_form7[this._fieldProps['cityCode']]);
|
|
2760
|
+
this.valueCached.cityName = this.valueCached.cityName || ((_this$_form8 = this._form) == null || (_this$_form8 = _this$_form8.formModel) == null ? void 0 : _this$_form8[this._fieldProps['cityName']]);
|
|
2761
|
+
this.valueCached.countyCode = this.valueCached.countyCode || ((_this$_form9 = this._form) == null || (_this$_form9 = _this$_form9.formModel) == null ? void 0 : _this$_form9[this._fieldProps['countyCode']]);
|
|
2762
|
+
this.valueCached.countyName = this.valueCached.provinceCode || ((_this$_form10 = this._form) == null || (_this$_form10 = _this$_form10.formModel) == null ? void 0 : _this$_form10[this._fieldProps['countyName']]);
|
|
2746
2763
|
this.valueCached.address = val;
|
|
2747
2764
|
this.$emit("change", this.valueCached);
|
|
2748
|
-
|
|
2765
|
+
this.$emit("inputChange", val, this.valueCached);
|
|
2766
|
+
if (this != null && (_this$_form11 = this._form) != null && _this$_form11.formModel) {
|
|
2749
2767
|
this._form.formModel[this._fieldProps['address']] = val;
|
|
2750
2768
|
}
|
|
2751
2769
|
}
|
|
@@ -2763,8 +2781,8 @@ CascaderAddrvue_type_template_id_12c36b3c_render._withStripped = true
|
|
|
2763
2781
|
|
|
2764
2782
|
var CascaderAddr_component = Object(componentNormalizer["a" /* default */])(
|
|
2765
2783
|
item_CascaderAddrvue_type_script_lang_js,
|
|
2766
|
-
|
|
2767
|
-
|
|
2784
|
+
CascaderAddrvue_type_template_id_df02c66e_render,
|
|
2785
|
+
CascaderAddrvue_type_template_id_df02c66e_staticRenderFns,
|
|
2768
2786
|
false,
|
|
2769
2787
|
null,
|
|
2770
2788
|
null,
|
|
@@ -219,10 +219,9 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
219
219
|
return rulesList.filter(function (item) {
|
|
220
220
|
if (typeof item.disabled === "function") {
|
|
221
221
|
return item.disabled.call(_this, {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
triggerFormConfig: _this.form.formItemLayout
|
|
222
|
+
form: _this.form,
|
|
223
|
+
formModel: _this.form.formModel,
|
|
224
|
+
config: _this.config
|
|
226
225
|
});
|
|
227
226
|
}
|
|
228
227
|
return item.disabled !== true;
|