diff --git a/frontend/src/components/stock.vue b/frontend/src/components/stock.vue index eac9759..4ee8f1d 100644 --- a/frontend/src/components/stock.vue +++ b/frontend/src/components/stock.vue @@ -1815,7 +1815,7 @@ function searchStockReport(stockCode) { - + diff --git a/frontend/src/components/stockSparkLine.vue b/frontend/src/components/stockSparkLine.vue index 78f9a55..26c7797 100644 --- a/frontend/src/components/stockSparkLine.vue +++ b/frontend/src/components/stockSparkLine.vue @@ -125,7 +125,7 @@ onMounted(() => { watchEffect(() => { - //console.log(stockName,'lastPrice变化为:', lastPrice) + console.log(stockName,'lastPrice变化为:', lastPrice,lastPrice > openPrice) setChartData(chart.value); })