提交 232b3b57 编写于 作者: 2 2303_76218115

Tue Jan 23 10:03:00 CST 2024 inscode

上级 c45b7546
......@@ -13,8 +13,9 @@
<div class="ai-generate-loading" v-if="loading && !image">
<div class="ai-generate-loading-inner">
<Spin fix>
<Icon type="ios-loading" size=18 class="demo-spin-icon-load"></Icon>
<div>生成图片中</div>
<!-- <Icon type="ios-loading" size=18 class="demo-spin-icon-load"></Icon> -->
<img class="ai-generate-image-self" src="../public/loading.gif" />
<!-- <div>生成图片中</div> -->
</Spin>
</div>
</div>
......
......@@ -49,8 +49,8 @@ export default {
};
axios.post(apiUrl, data, { headers }).then(response => {
console.log('response.data',response.data)
if(response.data.indexOf("升级 InsCode Pro 会员")>-1){
rejcet("您的 AI API 免费次数已经用完,已无法使用涉及 AI 的应用,升级 InsCode Pro 会员(inscode.csdn.net)后,可免费使用平台内全部 AI 应用。")
if(response.data.indexOf("升级会员")>-1){
rejcet("您的 AI API 免费次数已经用完,已无法使用涉及 AI 的应用,联系管理员升级会员后,可免费使用平台内全部 AI 应用。")
}else if(response.data.indexOf("敏感")>-1){
rejcet("抱歉,该问题含有敏感词信息,请换一个问题")
}else{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册