车的名字字段修改
This commit is contained in:
parent
3548f75666
commit
eb3f8bde0c
@ -178,7 +178,7 @@ function constructMenu(app: JlDrawApp): (e: FederatedMouseEvent) => void {
|
|||||||
const jumpStaitonItems: MenuItemOptions[] = [];
|
const jumpStaitonItems: MenuItemOptions[] = [];
|
||||||
stations.forEach((station) => {
|
stations.forEach((station) => {
|
||||||
const item: MenuItemOptions = {
|
const item: MenuItemOptions = {
|
||||||
name: station.datas.code,
|
name: station.datas.name,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
app.makeGraphicCenterShow(station);
|
app.makeGraphicCenterShow(station);
|
||||||
},
|
},
|
||||||
|
@ -151,7 +151,7 @@ export async function loadLineDatas(app: GraphicApp) {
|
|||||||
storage.stations.forEach((station) => {
|
storage.stations.forEach((station) => {
|
||||||
datas.push(new StationData(station));
|
datas.push(new StationData(station));
|
||||||
const item: MenuItemOptions = {
|
const item: MenuItemOptions = {
|
||||||
name: station.code,
|
name: station.name,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
const g = app.queryStore.queryById(station.common.id);
|
const g = app.queryStore.queryById(station.common.id);
|
||||||
if (g) {
|
if (g) {
|
||||||
|
Loading…
Reference in New Issue
Block a user