refactor: 注释掉扩展类型相关的列表项,简化点位详情和编辑组件的显示逻辑
This commit is contained in:
parent
418c66c721
commit
3d1055d625
@ -103,10 +103,10 @@ const getStorageStatusTag = (location: StorageLocationInfo) => {
|
||||
<a-typography-text type="secondary">{{ $t('站点坐标') }}</a-typography-text>
|
||||
<a-typography-text>({{ rect.x?.toFixed() }},{{ rect.y?.toFixed() }})</a-typography-text>
|
||||
</a-list-item>
|
||||
<a-list-item v-if="point.extensionType">
|
||||
<!-- <a-list-item v-if="point.extensionType">
|
||||
<a-typography-text type="secondary">{{ $t('扩展类型') }}</a-typography-text>
|
||||
<a-typography-text>{{ $t(MapPointType[point.extensionType]) }}</a-typography-text>
|
||||
</a-list-item>
|
||||
</a-list-item> -->
|
||||
<a-list-item v-if="[MapPointType.充电点, MapPointType.停靠点].includes(point.type)">
|
||||
<a-flex :gap="8" vertical>
|
||||
<a-typography-text type="secondary">{{ $t('绑定机器人') }}</a-typography-text>
|
||||
|
@ -234,7 +234,7 @@ function onChangeLocation(i: number, v: string) {
|
||||
</a-button>
|
||||
</a-flex>
|
||||
</a-collapse-panel>
|
||||
|
||||
<!--
|
||||
<a-collapse-panel
|
||||
v-if="Object.keys(MAP_POINT_EXTENSION_TYPES).map(Number).includes(point.type)"
|
||||
:header="$t('扩展类型')"
|
||||
@ -253,7 +253,7 @@ function onChangeLocation(i: number, v: string) {
|
||||
{{ $t(MapPointType[extType]) }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-collapse-panel>
|
||||
</a-collapse-panel> -->
|
||||
|
||||
<a-collapse-panel
|
||||
v-if="
|
||||
|
Loading…
x
Reference in New Issue
Block a user