|
|
@ -68,13 +68,13 @@ export const useEmotionStore = defineStore('emotion', { |
|
|
|
} |
|
|
|
|
|
|
|
// 同时添加到历史记录
|
|
|
|
this.addHistory({ |
|
|
|
queryText: stockData.queryText, |
|
|
|
stockInfo: stockData.stockInfo, |
|
|
|
apiData: stockData.apiData, |
|
|
|
conclusionData: stockData.conclusionData, |
|
|
|
timestamp: stockData.timestamp |
|
|
|
}); |
|
|
|
// this.addHistory({
|
|
|
|
// queryText: stockData.queryText,
|
|
|
|
// stockInfo: stockData.stockInfo,
|
|
|
|
// apiData: stockData.apiData,
|
|
|
|
// conclusionData: stockData.conclusionData,
|
|
|
|
// timestamp: stockData.timestamp
|
|
|
|
// });
|
|
|
|
}, |
|
|
|
// 切换股票
|
|
|
|
switchStock(index: number) { |
|
|
|