diff --git a/src/pages/customerservice/support/conversation/index.jsx b/src/pages/customerservice/support/conversation/index.jsx index 1649100..fcd2dc5 100644 --- a/src/pages/customerservice/support/conversation/index.jsx +++ b/src/pages/customerservice/support/conversation/index.jsx @@ -9,7 +9,7 @@ import { customerserviceAPI as API} from '@/services/customerservice'; import { message, Modal, Table, Button, Popconfirm } from 'antd'; import { history } from 'umi' import {CUSTOMERSERVICE_WEBSOCKET, CUSTOMERSERVICE_messageAlert} from './constants' - +import moment from "moment"; //网页刷新时,清空sessionStorage window.onbeforeunload = function(){ sessionStorage.removeItem('CUSTOMERSERVICE_CONVERSATIONID')