From 0f1c83df1249a816d8added7d76f8ab626a78bcf Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Jun 2022 10:36:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0moment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customerservice/support/conversation/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')