From 30056b762cefd9a2e044363984e5266f10d64f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E6=81=92?= <2323333339@qq.com> Date: Mon, 1 Feb 2021 19:08:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/joe.video.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/joe.video.js b/assets/js/joe.video.js index 9a690c1..c753d20 100644 --- a/assets/js/joe.video.js +++ b/assets/js/joe.video.js @@ -78,6 +78,8 @@ document.addEventListener('DOMContentLoaded', () => { } /* 初始化分页 */ function initPagination() { + if(pagecount == 0) return $(".joe_video__pagination").hide() + $(".joe_video__pagination").show() let htmlStr = ''; if (queryData.pg != 1) { htmlStr += `