fix: 按钮大小
parent
f34015e421
commit
502e149519
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue