fix: 按钮大小

develop
时启龙 2024-08-30 11:28:22 +08:00
parent f34015e421
commit 502e149519
1 changed files with 2 additions and 2 deletions

View File

@ -5,13 +5,13 @@
<header-content :detail="detail" :ip="networks.length ? networks[0].ipAddress : ''"></header-content> <header-content :detail="detail" :ip="networks.length ? networks[0].ipAddress : ''"></header-content>
<el-row class="borders_btm" :gutter="10" style="margin-top: 2px"> <el-row class="borders_btm" :gutter="10" style="margin-top: 2px">
<el-col :span="24"> <el-col :span="24">
<el-button :disabled="detail.status == 'RESTORING' || detail.isControl || detail.isAlldisabled" size="small" @click="goVnc"></el-button> <el-button size="medium" :disabled="detail.status == 'RESTORING' || detail.isControl || detail.isAlldisabled" @click="goVnc"></el-button>
<el-button v-if="detail.isShowStart" :disabled="detail.status == 'RESTORING' || detail.isStart || detail.isAlldisabled" size="medium" @click="patchVm('start', '开机')"></el-button> <el-button v-if="detail.isShowStart" :disabled="detail.status == 'RESTORING' || detail.isStart || detail.isAlldisabled" size="medium" @click="patchVm('start', '开机')"></el-button>
<el-button v-if="detail.isShowStop" :disabled="detail.status == 'RESTORING' || detail.isStop || detail.isAlldisabled" size="medium" @click="patchVm('stop', '关机')"></el-button> <el-button v-if="detail.isShowStop" :disabled="detail.status == 'RESTORING' || detail.isStop || detail.isAlldisabled" size="medium" @click="patchVm('stop', '关机')"></el-button>
<el-button v-if="detail.isShowRestart" :disabled="detail.status == 'RESTORING' || detail.isRestart || detail.isAlldisabled" size="medium" @click="patchVm('restart', '重启')"></el-button> <el-button v-if="detail.isShowRestart" :disabled="detail.status == 'RESTORING' || detail.isRestart || detail.isAlldisabled" size="medium" @click="patchVm('restart', '重启')"></el-button>
<el-button size="medium" :disabled="detail.isAlldisabled || detail.status !== 'STOPPED'" @click="addImage"></el-button> <el-button size="medium" :disabled="detail.isAlldisabled || detail.status !== 'STOPPED'" @click="addImage"></el-button>
<el-button size="medium" :disabled="detail.isAlldisabled || detail.status != 'RUNNING'" @click="modifyPas"></el-button> <el-button size="medium" :disabled="detail.isAlldisabled || detail.status != 'RUNNING'" @click="modifyPas"></el-button>
<el-button :disabled="detail.isAlldisabled || detail.status == 'RUNNING'" size="small" @click="modifyConfig"></el-button> <el-button size="medium" :disabled="detail.isAlldisabled || detail.status == 'RUNNING'" @click="modifyConfig"></el-button>
</el-col> </el-col>
</el-row> </el-row>
<div style="clear: both"></div> <div style="clear: both"></div>