Commit 3be691e6 by 王志慧

commit

1 parent b56215ee
......@@ -32,7 +32,7 @@
<div class="error-tips flex-center" v-if="item.type == 'error'">
<i class="el-icon-error"></i>
<span>{{ item.content }}</span>
<i class="el-icon-close"></i>
<!-- <i class="el-icon-close"></i> -->
</div>
<template v-else>
<div :class="['chat-item', item.type == 'answer' ? 'is-left' : 'is-right']">
......@@ -86,7 +86,7 @@ export default {
}
},
computed: {
...mapState('marketing', ['calendarDataAll'])
...mapState('marketing', ['calendarDataAll', 'activityInfo'])
},
watch: {
chatItem() {
......@@ -95,6 +95,9 @@ export default {
const height = this.$refs.chatBRef.offsetHeight - chatRef.offsetHeight + 40
chatRef.scrollTop = height //滚动到最底部
})
},
activityInfo() {
this.chatItem = []
}
},
methods: {
......
......@@ -152,7 +152,7 @@ export default {
})
},
addSuper() {
this.$parent.handleShowCalendar(0)
this.$parent.handleShowCalendar(0)
this.setActivityInfo({})
},
//设置活动详情
......
......@@ -39,6 +39,7 @@ export default {
currentDate: '',
options: {
defaultView: 'month',
isReadOnly: true,
month: {
dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!