Commit ead293d0 authored by KesaubeEire's avatar KesaubeEire

update: readme & comments.

parent 031bb10f
......@@ -71,6 +71,7 @@ npm run build:prod
- [ ] 统一界面风格
- [ ] 既有功能的继承
- [ ] 对 RMMZ 游戏(indexedDB)的处理(?)
- [ ] 让 Localstorage 或 indexDB 中的存档条目和游戏能关联起来
- [ ] TODO: 重构[通用作弊代码页](http://rrpg.duels.link/cheats.html)
- [ ] 统一界面风格
- [ ] 卡片展示
......
......@@ -334,7 +334,7 @@
// -----------------------------
// NOTE: 初始化执行 -> 考虑用 onMount
// 初始化请求 -> 拉取所有分类
// 1. 初始化请求 -> 拉取所有分类
const isTimeExpired = calcTimerExpired();
if (!$_category.length || isTimeExpired) {
fetchStaticCategory();
......@@ -346,6 +346,7 @@
// 更新时间戳
isTimeExpired ? ($_timer = new Date().getTime()) : '';
// 2. 瀑布流 -> 拉动到页面底部则更新数据
/**对加载下一页进行防抖*/
let debouncedContinue = debounceImmediate(continueLastSearch, 1000);
......@@ -371,7 +372,7 @@
}
});
// 初始化请求 -> 拉取全部条目
// 3. 初始化请求 -> 拉取全部条目
searchDefault();
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment