|
@@ -7,12 +7,13 @@
|
|
|
</template>
|
|
|
|
|
|
<template slot-scope="scope" slot="showInList">
|
|
|
- <el-switch :value="scope.row.showInList" @change="(e) => { updateShowStatus(scope.row.id, e) }" />
|
|
|
+ <el-switch :value="scope.row.showInList" @change="(e) => updateShowStatus(scope.row.id, e)" />
|
|
|
</template>
|
|
|
|
|
|
<template slot-scope="{row}" slot="startup">
|
|
|
<div class="icon-button">
|
|
|
- <el-button type="primary" size="small" @click="startLiveRoom(row.id)"><icon-svg name="play" /></el-button>
|
|
|
+ <el-button type="primary" size="small" @click="startLiveRoom(row.id)" disabled><icon-svg
|
|
|
+ name="play" /></el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -89,7 +90,7 @@ export default Vue.extend({
|
|
|
this.$confirm(`确定删除直播间 “${room.title}”?`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
+ type: 'warning',
|
|
|
}).then(() => {
|
|
|
console.log(id)
|
|
|
httpx.post("/rooms/deleteRoom", { id }
|
|
@@ -105,12 +106,4 @@ export default Vue.extend({
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
-</script>
|
|
|
-
|
|
|
-<style>
|
|
|
-.icon-button .el-button {
|
|
|
- padding: 6px 10px;
|
|
|
- font-size: medium;
|
|
|
- border-radius: 10px;
|
|
|
-}
|
|
|
-</style>
|
|
|
+</script>
|