svg显示问题调整

This commit is contained in:
fan 2023-06-09 18:07:36 +08:00
parent 6b3bc45677
commit 5231cc6764
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ export class PlatformDraw extends GraphicDrawAssistant<
app,
new PlatformTemplate(),
createData,
'svguse:../drawIcon.svg#icon-platform',
'svguse:/drawIcon.svg#icon-platform',
'站台Platform'
);
this.container.addChild(this.platformGraphic);

View File

@ -23,7 +23,7 @@ export class SignalDraw extends GraphicDrawAssistant<
app,
new SignalTemplate(),
createData,
'svguse:../drawIcon.svg#icon-signal',
'svguse:/drawIcon.svg#icon-signal',
'信号机Signal'
);

View File

@ -23,7 +23,7 @@ export class StationDraw extends GraphicDrawAssistant<
app,
new StationTemplate(),
createData,
'svguse:../drawIcon.svg#icon-station',
'svguse:/drawIcon.svg#icon-station',
'车站Station'
);
this.codeGraph = this.graphicTemplate.new();