From 34a5c65d9797010ca96382813e9eec86e1b3aec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=87=E7=BF=BC?= Date: Mon, 8 Jan 2018 23:32:53 +0800 Subject: [PATCH] Update bootstrap-table-cookie.js --- src/extensions/cookie/bootstrap-table-cookie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/cookie/bootstrap-table-cookie.js b/src/extensions/cookie/bootstrap-table-cookie.js index 1076a4f6dd..643ae932e4 100644 --- a/src/extensions/cookie/bootstrap-table-cookie.js +++ b/src/extensions/cookie/bootstrap-table-cookie.js @@ -160,11 +160,11 @@ cookieExpire = undefined; break; } - if(!cookieExpire){ + if (!cookieExpire) { return ''; } var d = new Date(); - d.setTime(d.getTime() + cookieExpire*1000); + d.setTime(d.getTime() + cookieExpire * 1000); return d.toGMTString(); };