缓存看股数据

This commit is contained in:
2026-08-16 21:24:41 +08:00
parent 65d2f54d1b
commit f192a08384
5 changed files with 45 additions and 758 deletions

View File

@@ -385,8 +385,7 @@ watch(active, (code) => {
}, { immediate: true });
watch(adjust, () => load(active.value));
watch(timeframe, () => load(active.value));
// MA 周期变化也要重拉后端按 mas 计算指标序列
watch(maPeriods, () => load(active.value));
// MA 周期变化:前端直接从收盘价计算,无需重拉后端数据DetailKLine.vue 的 watch 会触发图表重建
// 切股时同步自选状态
watch(active, (code) => {