vue2-client 1.9.82 → 1.9.83

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.9.82",
3
+ "version": "1.9.83",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -235,7 +235,7 @@ export default {
235
235
  } else {
236
236
  this.layout = layout
237
237
  }
238
- if (isHandleFormKey && !isKeyHandle) {
238
+ if ((isHandleFormKey === null || isHandleFormKey === undefined) && !isKeyHandle) {
239
239
  this.isHandleFormKey = isKeyHandle
240
240
  } else if (isHandleFormKey) {
241
241
  this.isHandleFormKey = isHandleFormKey
@@ -246,7 +246,6 @@ export default {
246
246
  this.configContent = configContent
247
247
  this.formItems = this.getFromItem(formItems, formJson)
248
248
  this.viewMode = viewMode
249
- this.isHandleFormKey = isHandleFormKey
250
249
  this.showSubmitBtn = showSubmitBtn
251
250
  this.serviceName = serviceName
252
251
  this.businessType = businessType
@@ -525,7 +525,7 @@ export default {
525
525
  formItems: res.formJson,
526
526
  viewMode: this.viewMode,
527
527
  localEditMode: this.localEditMode,
528
- isHandleFormKey: this.localEditMode ? false : undefined,
528
+ isKeyHandle: !Boolean(this.localEditMode),
529
529
  serviceName: this.serviceName,
530
530
  fixedAddForm: this.fixedAddForm,
531
531
  getDataParams: this.getDataParams,
@@ -566,7 +566,7 @@ export default {
566
566
  formItems: res.formJson,
567
567
  viewMode: this.viewMode,
568
568
  localEditMode: this.localEditMode,
569
- isHandleFormKey: this.localEditMode ? false : undefined,
569
+ isKeyHandle: !Boolean(this.localEditMode),
570
570
  serviceName: this.serviceName,
571
571
  fixedAddForm: this.fixedAddForm,
572
572
  getDataParams: this.getDataParams,