b288ee5b by lihua

api保存时冗余传递表中文

1 parent 6c879f1e
...@@ -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) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!