@zscreate/form-component 1.1.293 → 1.1.294
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.
|
@@ -30702,13 +30702,14 @@ const API = '/form/formdesiger/countLeaveDays';
|
|
|
30702
30702
|
},
|
|
30703
30703
|
watch: {
|
|
30704
30704
|
dataModel: {
|
|
30705
|
+
immediate: true,
|
|
30705
30706
|
handler(val) {
|
|
30706
30707
|
var _this$widget$options;
|
|
30707
30708
|
let defaultValue = (_this$widget$options = this.widget.options) === null || _this$widget$options === void 0 ? void 0 : _this$widget$options.defaultValue;
|
|
30708
30709
|
if (String(defaultValue).startsWith('script:')) {
|
|
30709
30710
|
defaultValue = defaultValue.replace('script:', '');
|
|
30710
30711
|
this.dataModel = eval(defaultValue);
|
|
30711
|
-
this.widget.options.defaultValue = ''
|
|
30712
|
+
// this.widget.options.defaultValue = ''
|
|
30712
30713
|
}
|
|
30713
30714
|
}
|
|
30714
30715
|
},
|
|
@@ -107877,7 +107878,7 @@ function keys(object) {
|
|
|
107877
107878
|
/***/ ((module) => {
|
|
107878
107879
|
|
|
107879
107880
|
"use strict";
|
|
107880
|
-
module.exports = {"rE":"1.1.
|
|
107881
|
+
module.exports = {"rE":"1.1.294"};
|
|
107881
107882
|
|
|
107882
107883
|
/***/ })
|
|
107883
107884
|
|