From 03fba1af2a790725edc9214ae2958cfc97d87d7b Mon Sep 17 00:00:00 2001 From: winixt Date: Thu, 18 Jan 2024 19:13:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96=20request=20?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/reference/plugin/plugins/request.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/plugin/plugins/request.md b/docs/reference/plugin/plugins/request.md index 09270d420..84b0835ba 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); }