vue2-client 1.8.440 → 1.8.441

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.440",
3
+ "version": "1.8.441",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -592,10 +592,14 @@ export default {
592
592
  this.loading = true
593
593
  const requestForm = this.prepareForm()
594
594
  await this.appendSilenceAddFields(requestForm)
595
+ const realForm = this.handleFormKeys(requestForm)
596
+ if (this.businessType === '新增') {
597
+ delete realForm.id
598
+ }
595
599
  resolve({
600
+ realForm,
596
601
  businessType: this.businessType,
597
602
  serviceName: this.serviceName,
598
- realForm: this.handleFormKeys(requestForm),
599
603
  currUserName: this.currUser.name,
600
604
  currUserId: this.currUser.id,
601
605
  orgId: this.currUser.orgid