From a45e71f6b11b607309ed241b177f5d1f10a3d161 Mon Sep 17 00:00:00 2001 From: haoouba <2323333339@qq.com> Date: Tue, 2 Feb 2021 19:55:14 +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 +- assets/js/joe.wallpaper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/joe.video.js b/assets/js/joe.video.js index 355bf7d..a0ee137 100644 --- a/assets/js/joe.video.js +++ b/assets/js/joe.video.js @@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', () => { if (res.code !== 1) return $('.joe_video__type-list').html(`
  • ${res.data}
  • `); if (!res.data.class.length) return $('.joe_video__type-list').html(`
  • 暂无数据!
  • `); let htmlStr = '
  • 全部
  • '; - res.data.class.forEach(_ => (htmlStr += `
  • ${_.type_name}
  • `)); + res.data.class.forEach(_ => (htmlStr += `
  • ${_.type_name}
  • `)); $('.joe_video__type-list').html(htmlStr); $('.joe_video__type-list .item').first().click(); } diff --git a/assets/js/joe.wallpaper.js b/assets/js/joe.wallpaper.js index 2aea4b1..3b5e53c 100644 --- a/assets/js/joe.wallpaper.js +++ b/assets/js/joe.wallpaper.js @@ -17,7 +17,7 @@ document.addEventListener('DOMContentLoaded', () => { if (res.code !== 1) return $('.joe_wallpaper__type-list').html('
  • 壁纸抓取失败!请联系作者!
  • ') if (!res.data.length) return $('.joe_wallpaper__type-list').html(`
  • 暂无数据!
  • `) let htmlStr = '' - res.data.forEach(_ => (htmlStr += `
  • ${_.name}
  • `)) + res.data.forEach(_ => (htmlStr += `
  • ${_.name}
  • `)) $('.joe_wallpaper__type-list').html(htmlStr) $('.joe_wallpaper__type-list .item').first().click() }