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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.315",
3
+ "version": "1.8.316",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -302,13 +302,19 @@ export default {
302
302
  },
303
303
  getConfig () {
304
304
  getConfigByName(this.queryParamsName, this.serviceName, (res) => {
305
- this.allowedCardMode = res.allowedCardMode
306
- this.cardModeConfig = res.cardModeConfig
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
  },