mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 14:48:03 +08:00
feat: 添加实例标识
This commit is contained in:
@@ -23,7 +23,16 @@
|
||||
sortable
|
||||
:sort-method="(a, b) => a.name - b.name"
|
||||
>
|
||||
<template #default="scope">{{ scope.row.name }}</template>
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.connectType !== 'rdp'">
|
||||
<svg-icon name="icon-linux" class="icon" />
|
||||
{{ scope.row.name }}
|
||||
</span>
|
||||
<span v-else>
|
||||
<svg-icon name="icon-Windows" class="icon" />
|
||||
{{ scope.row.name }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="props.columnSettings.username" property="username" label="用户名" />
|
||||
<el-table-column v-if="props.columnSettings.host" property="host" label="IP">
|
||||
|
||||
Reference in New Issue
Block a user