报错调整

This commit is contained in:
fan 2023-07-21 15:12:38 +08:00
parent a36e2c7d5d
commit d74b8ce9c3

View File

@ -7,9 +7,9 @@
</q-card-section> </q-card-section>
<q-separator inset></q-separator> <q-separator inset></q-separator>
<q-card-section> <q-card-section>
<template v-if="drawStore.drawGraphicType === Rect.Type"> <!-- <template v-if="drawStore.drawGraphicType === Rect.Type">
<rect-template></rect-template> <rect-template></rect-template>
</template> </template> -->
<template v-if="drawStore.drawGraphicType === Platform.Type"> <template v-if="drawStore.drawGraphicType === Platform.Type">
<platform-template></platform-template> <platform-template></platform-template>
</template> </template>
@ -39,9 +39,9 @@
</template> </template>
<template v-else-if="drawStore.selectedGraphics.length === 1"> <template v-else-if="drawStore.selectedGraphics.length === 1">
<q-card-section> <q-card-section>
<rect-property <!-- <rect-property
v-if="drawStore.selectedGraphicType === Rect.Type" v-if="drawStore.selectedGraphicType === Rect.Type"
></rect-property> ></rect-property> -->
<platform-property <platform-property
v-if="drawStore.selectedGraphicType === Platform.Type" v-if="drawStore.selectedGraphicType === Platform.Type"
></platform-property> ></platform-property>
@ -88,7 +88,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import RectTemplate from './templates/RectTemplate.vue'; // import RectTemplate from './templates/RectTemplate.vue';
import PlatformTemplate from './templates/PlatformTemplate.vue'; import PlatformTemplate from './templates/PlatformTemplate.vue';
import StationTemplate from './templates/StationTemplate.vue'; import StationTemplate from './templates/StationTemplate.vue';
// import TrainTemplate from './templates/TrainTemplate.vue'; // import TrainTemplate from './templates/TrainTemplate.vue';