vue2-client 1.16.97 → 1.16.99

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.16.97",
3
+ "version": "1.16.99",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -491,7 +491,6 @@ export default {
491
491
  getConfigByNameAsync,
492
492
  getConfigByName,
493
493
  init (params) {
494
- console.warn('XaddNativeForm init', params)
495
494
  const {
496
495
  configName,
497
496
  configContent,
@@ -927,7 +926,6 @@ export default {
927
926
  const requestForm = this.prepareForm()
928
927
  await this.appendSilenceAddFields(requestForm)
929
928
  const realForm = this.handleFormKeys(requestForm)
930
- debugger
931
929
  // 增加子表数据
932
930
  if (this.childTableData.length > 0) {
933
931
  for (const item of this.childTableData) {
@@ -1021,8 +1019,6 @@ export default {
1021
1019
  const value = form[key]
1022
1020
  if (value === null || (typeof value === 'object' && Object.keys(value).length === 0)) {
1023
1021
  form[key] = undefined
1024
- } else if (typeof value === 'object' && Object.keys(value).length === 1) {
1025
- form[key] = value[0]
1026
1022
  }
1027
1023
  }
1028
1024
  return form