cloud-web-corejs 1.0.54-dev.261 → 1.0.54-dev.262
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/package.json
CHANGED
@@ -102,9 +102,6 @@ modules = {
|
|
102
102
|
}
|
103
103
|
}
|
104
104
|
}
|
105
|
-
if (this.hasCofig("a")) {
|
106
|
-
|
107
|
-
}
|
108
105
|
},
|
109
106
|
mounted() {
|
110
107
|
},
|
@@ -186,23 +183,30 @@ modules = {
|
|
186
183
|
this.setReadonly(this.field.options.readonly)
|
187
184
|
},
|
188
185
|
initConfig() {
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
let
|
194
|
-
|
195
|
-
options
|
196
|
-
|
197
|
-
|
198
|
-
|
186
|
+
/*if (this.designState) {
|
187
|
+
let config = this.designer.getFieldWidgetByType(this.field.type);
|
188
|
+
if(config){
|
189
|
+
let defaultOptions = config.options;
|
190
|
+
let options = this.field.options;
|
191
|
+
Object.keys(defaultOptions).forEach(function (k) {
|
192
|
+
if (!options.hasOwnProperty(k)) {
|
193
|
+
let val = defaultOptions[k]
|
194
|
+
if (Array.isArray(val)) {
|
195
|
+
options[k] = []
|
196
|
+
} else {
|
197
|
+
options[k] = null
|
198
|
+
}
|
199
|
+
}
|
200
|
+
})
|
199
201
|
}
|
200
|
-
|
201
|
-
|
202
|
+
|
203
|
+
}*/
|
204
|
+
|
205
|
+
/*this.field.options = Object.assign(
|
202
206
|
{},
|
203
207
|
config.options,
|
204
208
|
this.field.options
|
205
|
-
)
|
209
|
+
);*/
|
206
210
|
},
|
207
211
|
findInArray: function (e, t) {
|
208
212
|
if (!Array.isArray(e)) return -1;
|