From 5231cc6764615df1a311b4911b0bb44a541e2eed Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 9 Jun 2023 18:07:36 +0800 Subject: [PATCH] =?UTF-8?q?svg=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/platform/PlatformDrawAssistant.ts | 2 +- src/graphics/signal/SignalDrawAssistant.ts | 2 +- src/graphics/station/StationDrawAssistant.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphics/platform/PlatformDrawAssistant.ts b/src/graphics/platform/PlatformDrawAssistant.ts index ad6c82c..407289d 100644 --- a/src/graphics/platform/PlatformDrawAssistant.ts +++ b/src/graphics/platform/PlatformDrawAssistant.ts @@ -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); diff --git a/src/graphics/signal/SignalDrawAssistant.ts b/src/graphics/signal/SignalDrawAssistant.ts index 605cf78..03ff3fe 100644 --- a/src/graphics/signal/SignalDrawAssistant.ts +++ b/src/graphics/signal/SignalDrawAssistant.ts @@ -23,7 +23,7 @@ export class SignalDraw extends GraphicDrawAssistant< app, new SignalTemplate(), createData, - 'svguse:../drawIcon.svg#icon-signal', + 'svguse:/drawIcon.svg#icon-signal', '信号机Signal' ); diff --git a/src/graphics/station/StationDrawAssistant.ts b/src/graphics/station/StationDrawAssistant.ts index ef11490..e03fd9c 100644 --- a/src/graphics/station/StationDrawAssistant.ts +++ b/src/graphics/station/StationDrawAssistant.ts @@ -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();