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 +1 -1
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +0 -4
- package/src/base-client/components/common/XForm/XFormItem.vue +1530 -1530
- package/src/base-client/components/common/XTable/XTable.vue +2 -1
- package/src/base-client/components/his/XRadio/XRadio.vue +1 -1
- package/src/base-client/components/his/XTitle/XTitle.vue +9 -3
package/package.json
CHANGED
|
@@ -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
|