refactor: 优化前端错误提示

This commit is contained in:
2026-08-03 23:08:36 +08:00
parent e82a87d104
commit 2a36e28f74
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ describe('request utility', () => {
})
it('should throw for unsupported method', () => {
expect(() => request.request('patch', '/test', null)).toThrow('请求方法 patch 未实现')
expect(() => request.request('patch', '/test', null)).toThrow('该功能暂不可用,请刷新后重试')
})
})
})