fix: 移動端未打開對話但提示對話不存在
This commit is contained in:
@@ -57,7 +57,7 @@ export default function ChatFragment({ target, showReturnButton, onReturnButtonC
|
||||
target: target,
|
||||
})
|
||||
if (re.code != 200)
|
||||
return checkApiSuccessOrSncakbar(re, "對話錯誤")
|
||||
return target != '' && checkApiSuccessOrSncakbar(re, "對話錯誤")
|
||||
setChatInfo(re.data as Chat)
|
||||
|
||||
await loadMore()
|
||||
|
||||
Reference in New Issue
Block a user