coding
This commit is contained in:
parent
dbea954613
commit
456a6fc1d0
|
@ -1,6 +1,9 @@
|
|||
<template>
|
||||
<Grid class="central-control-page" :columns="[1, 1]" :rows="['331px', 1]">
|
||||
<ModuleWrapper title="系统模块" style="grid-column: 1 / 3">
|
||||
<template #extra>
|
||||
<a-icon type="sync" style="font-size: 30px; color: #00deff" @click="getSystemModules()" />
|
||||
</template>
|
||||
<Grid class="normal" :columns="[1, 1, 1, 1, 1]">
|
||||
<div
|
||||
v-for="block in systemModules"
|
||||
|
@ -18,6 +21,7 @@
|
|||
<ModuleWrapper title="全部房间" style="grid-column: 1 / 3">
|
||||
<template #extra>
|
||||
<a-button type="primary" @click="handleOpenScenarioModal()">新建房间</a-button>
|
||||
<a-button type="primary" icon="sync" @click="getRoomList()"></a-button>
|
||||
</template>
|
||||
<div class="normal flex-c ai-c" v-loading="room.loading">
|
||||
<Grid class="room-wrapper" :columns="[1, 1, 1, 1, 1]" :rows="[1, 1]">
|
||||
|
@ -29,7 +33,7 @@
|
|||
<div class="room-author">{{ item.author }}</div>
|
||||
</div>
|
||||
<div class="room-reload" title="进入房间" @click="handleJoinRoom(item)">
|
||||
<a-icon type="reload" />
|
||||
<a-icon type="arrow-right" />
|
||||
</div>
|
||||
</div>
|
||||
</Grid>
|
||||
|
@ -220,6 +224,7 @@ export default {
|
|||
method: 'get',
|
||||
params: { id: scenarioId },
|
||||
})
|
||||
this.getRoomList()
|
||||
this.scenarioModal.visible = false
|
||||
this.clearScenarioModal()
|
||||
const shifou = await new Promise((resolve) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user