vue2-client 1.8.315 → 1.8.316
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
|
@@ -302,13 +302,19 @@ export default {
|
|
|
302
302
|
},
|
|
303
303
|
getConfig () {
|
|
304
304
|
getConfigByName(this.queryParamsName, this.serviceName, (res) => {
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
if (res.allowedCardMode) {
|
|
306
|
+
this.allowedCardMode = res.allowedCardMode
|
|
307
|
+
this.cardModeConfig = res.cardModeConfig
|
|
308
|
+
}
|
|
307
309
|
this.updateComponents(res)
|
|
308
310
|
}, this.env === 'dev')
|
|
309
311
|
},
|
|
310
312
|
getConfigBySource () {
|
|
311
313
|
parseConfig(this.queryParamsJson, 'CRUD_FORM', this.serviceName, this.env === 'dev').then(res => {
|
|
314
|
+
if (res.allowedCardMode) {
|
|
315
|
+
this.allowedCardMode = res.allowedCardMode
|
|
316
|
+
this.cardModeConfig = res.cardModeConfig
|
|
317
|
+
}
|
|
312
318
|
this.updateComponents(res, true)
|
|
313
319
|
})
|
|
314
320
|
},
|