|
|
@ -794,6 +794,16 @@ watch( |
|
|
|
const HomePage = result20.data.HomePage; |
|
|
|
const AIGoldBull = result20.data.AIGoldBull; |
|
|
|
|
|
|
|
const isLiuSe = HomePage ? true : false; |
|
|
|
const isAIGoldBull = |
|
|
|
AIGoldBull.DNC && |
|
|
|
AIGoldBull.FCX && |
|
|
|
AIGoldBull.JN && |
|
|
|
AIGoldBull.KLine20 && |
|
|
|
AIGoldBull.QSXH |
|
|
|
? true |
|
|
|
: false; |
|
|
|
|
|
|
|
const katexRegex = /\$\$(.*?)\$\$/g; |
|
|
|
|
|
|
|
let result21; |
|
|
@ -2139,10 +2149,21 @@ watch( |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
if (isLiuSe && isAIGoldBull) { |
|
|
|
handleOneAPI(); |
|
|
|
handleTwoAPI(); |
|
|
|
handleThreeAPI(); |
|
|
|
handleFourAPI(); |
|
|
|
} else { |
|
|
|
chatStore.messages.pop(); |
|
|
|
chatStore.messages.push({ |
|
|
|
class: "ing", |
|
|
|
type: "ing", |
|
|
|
flag: false, |
|
|
|
content: "数据缺失,请稍后重试", |
|
|
|
}); |
|
|
|
chatStore.isLoading = false; |
|
|
|
} |
|
|
|
|
|
|
|
// 同时发起所有API调用 |
|
|
|
// const promises = [ |
|
|
|