车的名字字段修改

This commit is contained in:
joylink_zhaoerwei 2023-07-24 16:19:05 +08:00
parent 3548f75666
commit eb3f8bde0c
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ function constructMenu(app: JlDrawApp): (e: FederatedMouseEvent) => void {
const jumpStaitonItems: MenuItemOptions[] = [];
stations.forEach((station) => {
const item: MenuItemOptions = {
name: station.datas.code,
name: station.datas.name,
handler: () => {
app.makeGraphicCenterShow(station);
},

View File

@ -151,7 +151,7 @@ export async function loadLineDatas(app: GraphicApp) {
storage.stations.forEach((station) => {
datas.push(new StationData(station));
const item: MenuItemOptions = {
name: station.code,
name: station.name,
handler: () => {
const g = app.queryStore.queryById(station.common.id);
if (g) {