b288ee5b by lihua

api保存时冗余传递表中文

1 parent 6c879f1e
......@@ -2528,6 +2528,9 @@ const startTestApi = () => {
/** 提交新增API. */
const save = (isSubmit: boolean = false) => {
let params = { isSubmit: isSubmit ? 'Y' : 'N', ...baseInfoFormRef.value?.formInline, ...tableInfoFormRef.value?.formInline, dataSourceType: 1, dataSourceName: currDsInfo.value.databaseNameZh, requestAgreement: 'https' };
if (params.tableName) {
params.tableNameCh = dsTableList.value.find(d => d.value == params.tableName)?.tableComment || params.tableName;
}
params.immediateApprove = isSubmit
// if (params.apiType == '1') {
// 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!