mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
🐛fix: 修复统一接口导致的返回问题
This commit is contained in:
@@ -343,9 +343,9 @@ const createData = () => {
|
||||
tempData = setDetails(tempData)
|
||||
tempData.OrgId = defaultorgid.value
|
||||
{FirstTableName}s.add(tempData).then(resp => {
|
||||
if (resp.result != undefined) {
|
||||
if (resp.data != undefined) {
|
||||
//如果服务器返回生成的ID
|
||||
firstTemp.id = resp.result
|
||||
firstTemp.id = resp.data
|
||||
}
|
||||
mainList.value.unshift(firstTemp)
|
||||
editModel.value = false
|
||||
|
Reference in New Issue
Block a user