diff --git a/autoload.js b/autoload.js index 85f0fd3..4c390a8 100644 --- a/autoload.js +++ b/autoload.js @@ -42,7 +42,6 @@ if (screen.width >= 768) { // apiPath: "https://live2d.fghrsh.net/api/", cdnPath: "https://npm.elemecdn.com/akilar-live2dapi@latest/" // cdnPath: "https://npm.elemecdn.com/shendongjun-live2dapi@latest/" - // cdnPath: "https://npm.elemecdn.com/shendongjun-live2dapi@latest/" }); }); } diff --git a/waifu-tips.js b/waifu-tips.js index 02b18f6..7023602 100644 --- a/waifu-tips.js +++ b/waifu-tips.js @@ -15,7 +15,8 @@ function loadWidget(config) { console.error("Invalid initWidget argument!"); return; } - localStorage.removeItem("waifu-display"); + // localStorage.removeItem("waifu-display"); //页面初始化显示live2d + localStorage.setItem("waifu-display", Date.now());//页面一开始不显示live2d sessionStorage.removeItem("waifu-text"); document.body.insertAdjacentHTML("beforeend", `