diff --git a/docs/reference/plugin/plugins/request.md b/docs/reference/plugin/plugins/request.md index 09270d42..84b0835b 100644 --- a/docs/reference/plugin/plugins/request.md +++ b/docs/reference/plugin/plugins/request.md @@ -34,10 +34,10 @@ export default defineRuntimeConfig({ // 处理响应内容异常 if (data.code !== '0') { if (data.code === '10000') - FMesseage.error('hello world'); + FMessage.error('hello world'); if (data.code === '20000') - FMesseage.error('hello world'); + FMessage.error('hello world'); throw new Error(response); }