修改按钮顺序

This commit is contained in:
ival 2019-09-04 17:19:26 +08:00
parent 92531836fe
commit 8b56d035eb

View File

@ -182,6 +182,22 @@
</div> </div>
</div> </div>
<div class="start-box"> <div class="start-box">
<el-button
v-if="userId == roomInfo.creatorId"
style="margin-left: 10px"
type="danger"
:loading="loading"
@click="exit"
>销毁房间
</el-button>
<el-button
v-if="userId == roomInfo.creatorId"
style="margin-left: 10px"
type="success"
:loading="loading"
@click="postCode"
>生成二维码
</el-button>
<template v-if="!starting"> <template v-if="!starting">
<el-button <el-button
v-if="userId == roomInfo.creatorId" v-if="userId == roomInfo.creatorId"
@ -209,22 +225,6 @@
> >
结束仿真</el-button> 结束仿真</el-button>
</template> </template>
<el-button
v-if="userId == roomInfo.creatorId"
style="margin-left: 10px"
type="success"
:loading="loading"
@click="postCode"
>生成二维码
</el-button>
<el-button
v-if="userId == roomInfo.creatorId"
style="margin-left: 10px"
type="danger"
:loading="loading"
@click="exit"
>销毁房间
</el-button>
<el-button type="" @click="backRoom">返回 <el-button type="" @click="backRoom">返回
</el-button> </el-button>
</div> </div>