Преглед на файлове

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

zq940222 преди 2 месеца
родител
ревизия
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' });
 }