车的名字字段修改
This commit is contained in:
parent
3548f75666
commit
eb3f8bde0c
@ -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);
|
||||
},
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user