Browse Source

更新

develop
lingxiao 2 years ago
parent
commit
e49a6e1bba
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/views/etcd/index.vue

+ 5
- 5
src/views/etcd/index.vue View File

@ -31,7 +31,7 @@
<span :class="`serve-text ${'status-color'+scope.row.state}`">{{ setStatusText(scope.row) }}</span> <span :class="`serve-text ${'status-color'+scope.row.state}`">{{ setStatusText(scope.row) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="350" align="center">
<el-table-column label="操作" width="250" align="center">
<template #default="scope"> <template #default="scope">
<el-button <el-button
v-if="scope.row.state == 0" v-if="scope.row.state == 0"
@ -41,22 +41,22 @@
size="small" size="small"
>启动</el-button >启动</el-button
> >
<el-button
<!-- <el-button
v-if="scope.row.state == 1" v-if="scope.row.state == 1"
class="edit-button-style" class="edit-button-style"
@click="cmdPause(scope.row)" @click="cmdPause(scope.row)"
icon="el-icon-video-pause" icon="el-icon-video-pause"
size="small" size="small"
>暂停</el-button >暂停</el-button
>
<el-button
> -->
<!-- <el-button
v-if="scope.row.state == 2" v-if="scope.row.state == 2"
class="edit-button-style" class="edit-button-style"
@click="cmdRecover(scope.row)" @click="cmdRecover(scope.row)"
icon="el-icon-refresh" icon="el-icon-refresh"
size="small" size="small"
>恢复</el-button >恢复</el-button
>
> -->
<el-button <el-button
v-if="scope.row.state != 0" v-if="scope.row.state != 0"
class="edit-button-style" class="edit-button-style"


Loading…
Cancel
Save