This commit is contained in:
parent
41f762095e
commit
dc4b864bba
|
|
@ -103,7 +103,7 @@ const BlogArticleWrapper = async ({ params }: { params: { slug: string, locale:
|
||||||
// 'Authorization': token // 如果需要身份验证,可以在这里加上 token
|
// 'Authorization': token // 如果需要身份验证,可以在这里加上 token
|
||||||
}
|
}
|
||||||
}).then((result: any) => {
|
}).then((result: any) => {
|
||||||
console.log("result:", result);
|
console.log("==================>result:", result);
|
||||||
|
|
||||||
if (result && result.header.code !== 0) {
|
if (result && result.header.code !== 0) {
|
||||||
statusText = result.header.message || '操作失败(后端返回错误)';
|
statusText = result.header.message || '操作失败(后端返回错误)';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue