api保存时冗余传递表中文
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -2528,6 +2528,9 @@ const startTestApi = () => { | ... | @@ -2528,6 +2528,9 @@ const startTestApi = () => { |
| 2528 | /** 提交新增API. */ | 2528 | /** 提交新增API. */ |
| 2529 | const save = (isSubmit: boolean = false) => { | 2529 | const save = (isSubmit: boolean = false) => { |
| 2530 | let params = { isSubmit: isSubmit ? 'Y' : 'N', ...baseInfoFormRef.value?.formInline, ...tableInfoFormRef.value?.formInline, dataSourceType: 1, dataSourceName: currDsInfo.value.databaseNameZh, requestAgreement: 'https' }; | 2530 | let params = { isSubmit: isSubmit ? 'Y' : 'N', ...baseInfoFormRef.value?.formInline, ...tableInfoFormRef.value?.formInline, dataSourceType: 1, dataSourceName: currDsInfo.value.databaseNameZh, requestAgreement: 'https' }; |
| 2531 | if (params.tableName) { | ||
| 2532 | params.tableNameCh = dsTableList.value.find(d => d.value == params.tableName)?.tableComment || params.tableName; | ||
| 2533 | } | ||
| 2531 | params.immediateApprove = isSubmit | 2534 | params.immediateApprove = isSubmit |
| 2532 | // if (params.apiType == '1') { | 2535 | // if (params.apiType == '1') { |
| 2533 | // if (params.dataSourceType == 2) { | 2536 | // if (params.dataSourceType == 2) { | ... | ... |
-
Please register or sign in to post a comment