fix(protocol): handle null Qzone share errors

Refs #625
This commit is contained in:
DrSmoothl committed 2026-11-01 20:42:20 +08:00
1 parent 8d9f44b6b0
commit f65880b164
2 files changed
+26 -1

No files matched your search

+1 -1
View File
@@ -286,7 +286,7 @@ export async function getQzoneShareArk(
},
});
if (data.err !== undefined) {
if (data.err !== undefined && data.err !== null) {
if (
!isObject(data.err) ||
(data.err.code !== undefined && typeof data.err.code !== 'number')