Browse Source

使用全权限token

master
no99 2 days ago
parent
commit
f1b0762ca5
  1. 55
      src/views/AIchat.vue

55
src/views/AIchat.vue

@ -31,6 +31,7 @@ import title4 from "@/assets/img/AIchat/综合作战.png";
import logo1 from "@/assets/img/AIchat/夺宝奇兵logo.png";
import logo2 from "@/assets/img/AIchat/开启无限财富.png";
import bgc from "@/assets/img/AIchat/圈.png";
const chatStore = useChatStore();
const audioStore = useAudioStore();
const dataStore = useDataStore();
@ -577,8 +578,13 @@ watch(
};
try {
const env = import.meta.env.VITE_ENV;
const result20 = await dataListAPI({
token: localStorage.getItem("localToken"),
token:
env == "development"
? "8Csj5VVX1UbIb4C3oxrnbZi0+fEeMx8pywnIlrmTm45Cb/EllzWACLto9J9+fCFsfdgBOvKvyY94FvqlvM0"
: "8nkj4QBV1RPIb4CzoRTnbZi0+fEeMx8pywnIlrmTxdwROKkuwWqAWu9orpkpeXVqL98DPfeonNYpHv+mucA",
market: codeData.value.market,
code: codeData.value.code,
language: "cn", //t.value.suoxie,
@ -1150,7 +1156,7 @@ watch(
// }
// }, 50); // 50ms/
addTypingTask(aiMessage5, [ac51,ac52,ac53,ac54], 50);
addTypingTask(aiMessage5, [ac51, ac52, ac53, ac54], 50);
// chatStore.messages.push({
// sender: "ai",
@ -2261,22 +2267,52 @@ function KlineCanvsEcharts(containerId) {
},
grid: [
{
left: window.innerWidth > 1024 ? '70vw' : window.innerWidth>768? '65vw' : '55vw',
right: window.innerWidth > 1024 ? '40vw' : window.innerWidth>768? '30vw' : '40vw',
left:
window.innerWidth > 1024
? "70vw"
: window.innerWidth > 768
? "65vw"
: "55vw",
right:
window.innerWidth > 1024
? "40vw"
: window.innerWidth > 768
? "30vw"
: "40vw",
top: window.innerWidth > 768 ? "8%" : "5%",
height: window.innerWidth > 768 ? "34%" : "34%",
containLabel: false,
},
{
left: window.innerWidth > 1024 ? '70vw' : window.innerWidth>768? '65vw' : '55vw',
right: window.innerWidth > 1024 ? '40vw' : window.innerWidth>768? '30vw' : '40vw',
left:
window.innerWidth > 1024
? "70vw"
: window.innerWidth > 768
? "65vw"
: "55vw",
right:
window.innerWidth > 1024
? "40vw"
: window.innerWidth > 768
? "30vw"
: "40vw",
top: window.innerWidth > 768 ? "45%" : "42%",
height: window.innerWidth > 768 ? "22%" : "22%",
containLabel: false,
},
{
left: window.innerWidth > 1024 ? '70vw' : window.innerWidth>768? '65vw' : '55vw',
right: window.innerWidth > 1024 ? '40vw' : window.innerWidth>768? '30vw' : '40vw',
left:
window.innerWidth > 1024
? "70vw"
: window.innerWidth > 768
? "65vw"
: "55vw",
right:
window.innerWidth > 1024
? "40vw"
: window.innerWidth > 768
? "30vw"
: "40vw",
top: window.innerWidth > 768 ? "73%" : "70%",
height: window.innerWidth > 768 ? "20%" : "22%",
containLabel: false,
@ -2832,8 +2868,7 @@ function KlineCanvsEcharts(containerId) {
if (item[1] === 100) {
return {
coord: [item[0], 80],
symbolOffset:
[0, -10],
symbolOffset: [0, -10],
itemStyle: {
color: "#ff0000",
},

Loading…
Cancel
Save