This commit is contained in:
HuangHai
2026-01-18 16:17:09 +08:00
parent 88d2dbb01f
commit 155d44ff4f
4 changed files with 4 additions and 6 deletions

View File

@@ -9,8 +9,6 @@
<div id="app">
<div class="left-panel">
<div class="controls">
<span class="label">API</span>
<input v-model="apiBase" style="min-width:220px;">
<span class="label">搜索驿来特场站</span>
<input v-model="searchKeyword" placeholder="输入名称或地址关键字" style="min-width:220px;">
<button @click="loadStations">查询场站</button>

View File

@@ -87,6 +87,8 @@ series:series
}
initChart()
chartInstance.setOption(option)
}catch(e){
console.error(e)
}finally{
loading.value = false
}
@@ -129,7 +131,6 @@ return v.toFixed(2)
}
return v
}
return {apiBase,stationHash,aiText,placeholder,loading,aiLoading,stations,searchKeyword,selectedStation,priceTableColumns,priceTableRows,loadStations,loadComparison,selectStation,startAiStream,formatCell}
return {stationHash,aiText,placeholder,loading,aiLoading,stations,searchKeyword,selectedStation,priceTableColumns,priceTableRows,loadStations,loadComparison,selectStation,startAiStream,formatCell}
}
}).mount("#app")