Эх сурвалжийг харах

添加根据算力调用ai接口判断

zq940222 2 сар өмнө
parent
commit
75f54e2ac9

+ 1 - 1
src/components/jeecg/AiChat/components/chat.api.ts

@@ -4,5 +4,5 @@ enum Api {
   checkQuota = '/ai/chat/checkQuota',
   checkQuota = '/ai/chat/checkQuota',
 }
 }
 export function checkQuotaApi() {
 export function checkQuotaApi() {
-  return defHttp.get({ url: Api.checkQuota });
+  return defHttp.get({ url: Api.checkQuota }, { successMessageMode: 'none' });
 }
 }