Commit 2b2301f7 by xuyl

优化直播间

1 parent 7a783ae2
......@@ -16,7 +16,7 @@
<div class="baseInfoContainer" v-if="activePage =='1'">
<div class="baseTitle">基本信息</div>
<div class="baseFrame gl-from-page">
<el-form :model="baseForm" :rules="baseRules" ref="baseForm" label-width="100px">
<el-form :model="baseForm" :rules="baseRules" ref="baseForm" label-width="120px">
<el-form-item label="直播间名称" prop="name">
<el-input v-model="baseForm.name" maxlength="20" show-word-limit></el-input>
</el-form-item>
......
......@@ -173,7 +173,8 @@ export default {
{
label: "直播状态",
prop: "status",
addHtml: "status"
addHtml: "status",
width: "170"
},
{
label: "访问总数",
......@@ -213,21 +214,21 @@ export default {
}
}
},
{
type: "el-button",
name: "删除",
attrs: {
type: "text"
},
condition: row => {
return row.status !== 1;
},
listeners: {
click: row => {
this.handleDelete(row);
}
}
},
// {
// type: "el-button",
// name: "删除",
// attrs: {
// type: "text"
// },
// condition: row => {
// return row.status !== 1;
// },
// listeners: {
// click: row => {
// this.handleDelete(row);
// }
// }
// },
{
type: "el-button",
name: "编辑",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!