Commit 3b93e315 authored by yaya's avatar yaya

feat: 优化

parent 9d794137
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
</el-menu-item> </el-menu-item>
</el-menu>--> </el-menu>-->
<el-container v-loading="loading" style="width: 100%;height: 100%; border: 1px solid #eee"> <el-container v-loading="loading" style="width: 100%;height: 100%; border: 1px solid #eee">
<el-aside style="width: 25%;background-color: white;padding: 0"> <el-aside style="width: 20%;background-color: white;padding: 0">
<el-tabs style="padding: 10px 10px 0;" @tab-click="handleClick"> <el-tabs style="padding: 10px 10px 0;" @tab-click="handleClick">
<el-tab-pane v-for="(item) in customerList" :key="item.code" > <el-tab-pane v-for="(item) in customerList" :key="item.code" >
<div slot="label"> <div slot="label">
...@@ -196,12 +196,12 @@ export default { ...@@ -196,12 +196,12 @@ export default {
this.messageList = [] this.messageList = []
this.messageContent = '' this.messageContent = ''
this.totalUnreadMessageCount = -1 this.totalUnreadMessageCount = -1
this.customerList = this.customerList.map((item) => { /* this.customerList = this.customerList.map((item) => {
return { return {
...item, ...item,
unReadMessageCount: 0 unReadMessageCount: 0
} }
}) })*/
}, },
/** /**
* 获取客服列表 * 获取客服列表
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment