Просмотр исходного кода

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

zq940222 2 месяцев назад
Родитель
Сommit
75f54e2ac9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/jeecg/AiChat/components/chat.api.ts

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

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