You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
690 B
33 lines
690 B
<template>
|
|
<!-- 聊天 -->
|
|
<chat-room
|
|
v-show="chatOptions.show"
|
|
:chat-options="chatOptions"
|
|
@chat-close="chatClose"
|
|
@socket-open="socketOpen"
|
|
@socket-error="socketError"
|
|
></chat-room>
|
|
</template>
|
|
|
|
<script>
|
|
import ChatRoom from "@/components/ChatRoom";
|
|
import appChat from "@/mixins/appChat";
|
|
export default {
|
|
components: { ChatRoom },
|
|
mixins: [appChat],
|
|
auth: false,
|
|
fetch({ store }) {
|
|
store.commit("isHeader", false);
|
|
store.commit("isFooter", false);
|
|
},
|
|
head() {
|
|
return {
|
|
title: "客服聊天-"+this.$store.state.titleCon
|
|
}
|
|
},
|
|
created() {
|
|
this.chatOptions.show = true;
|
|
this.chatOptions.popup = false;
|
|
},
|
|
};
|
|
</script>
|
|
|