Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit b4b9737

Browse files
committed
Feat: 新增显示备注
1 parent f90b7f9 commit b4b9737

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

src/app/views/quickstart/index.vue

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,16 @@
4646

4747
<div v-if="step == 1">
4848
<el-row :gutter="10" justify="left">
49-
<el-col
50-
:md="6"
51-
:offset="0"
52-
v-for="(item, index) in remoteObjects"
53-
:key="index"
54-
@click="selectHost(item.uuid)"
55-
>
56-
<ItemGroup v-if="item.available">
57-
<SelectBlock style="height: 120px; background-color: white">
58-
<template #title>{{ item.ip }}:{{ item.port }}</template>
59-
</SelectBlock>
60-
</ItemGroup>
61-
</el-col>
49+
<template v-for="(item, index) in remoteObjects" :key="index">
50+
<el-col :md="6" :offset="0" @click="selectHost(item.uuid)" v-if="item.available">
51+
<ItemGroup>
52+
<SelectBlock style="height: 120px; background-color: white">
53+
<template #title>{{ item.ip }}:{{ item.port }}</template>
54+
<template #info>{{ item.remarks }}</template>
55+
</SelectBlock>
56+
</ItemGroup>
57+
</el-col>
58+
</template>
6259
</el-row>
6360
</div>
6461
</template>

0 commit comments

Comments
 (0)