tianheng-ui 0.0.86 → 0.0.88
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/tianheng-ui.js +3 -3
- package/package.json +1 -1
- package/packages/FormMaking/index.vue +46 -2
package/package.json
CHANGED
@@ -461,7 +461,29 @@ export default {
|
|
461
461
|
return {
|
462
462
|
widgetFormData: {
|
463
463
|
list: [],
|
464
|
-
config:
|
464
|
+
config: {
|
465
|
+
ui: "element",
|
466
|
+
title: "",
|
467
|
+
width: "",
|
468
|
+
labelWidth: 100,
|
469
|
+
labelPosition: "right",
|
470
|
+
labelSuffix: ":",
|
471
|
+
size: "small",
|
472
|
+
disabled: false,
|
473
|
+
hideLabel: false,
|
474
|
+
eventScript: [
|
475
|
+
{
|
476
|
+
key: "mounted",
|
477
|
+
name: "mounted",
|
478
|
+
func: ""
|
479
|
+
},
|
480
|
+
{
|
481
|
+
key: "refresh",
|
482
|
+
name: "refresh",
|
483
|
+
func: ""
|
484
|
+
}
|
485
|
+
]
|
486
|
+
}
|
465
487
|
},
|
466
488
|
widgetFormSelect: {},
|
467
489
|
widgetValue: {},
|
@@ -768,7 +790,29 @@ export default {
|
|
768
790
|
handleClear() {
|
769
791
|
this.widgetFormData = {
|
770
792
|
list: [],
|
771
|
-
config:
|
793
|
+
config: {
|
794
|
+
ui: "element",
|
795
|
+
title: "",
|
796
|
+
width: "",
|
797
|
+
labelWidth: 100,
|
798
|
+
labelPosition: "right",
|
799
|
+
labelSuffix: ":",
|
800
|
+
size: "small",
|
801
|
+
disabled: false,
|
802
|
+
hideLabel: false,
|
803
|
+
eventScript: [
|
804
|
+
{
|
805
|
+
key: "mounted",
|
806
|
+
name: "mounted",
|
807
|
+
func: ""
|
808
|
+
},
|
809
|
+
{
|
810
|
+
key: "refresh",
|
811
|
+
name: "refresh",
|
812
|
+
func: ""
|
813
|
+
}
|
814
|
+
]
|
815
|
+
}
|
772
816
|
};
|
773
817
|
|
774
818
|
this.widgetFormSelect = {};
|