Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
ead293d0
Commit
ead293d0
authored
Oct 25, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: readme & comments.
parent
031bb10f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+1
-0
src/Content.svelte
src/Content.svelte
+3
-2
No files found.
README.md
View file @
ead293d0
...
@@ -71,6 +71,7 @@ npm run build:prod
...
@@ -71,6 +71,7 @@ npm run build:prod
-
[ ] 统一界面风格
-
[ ] 统一界面风格
-
[ ] 既有功能的继承
-
[ ] 既有功能的继承
-
[ ] 对 RMMZ 游戏(indexedDB)的处理(?)
-
[ ] 对 RMMZ 游戏(indexedDB)的处理(?)
-
[ ] 让 Localstorage 或 indexDB 中的存档条目和游戏能关联起来
-
[
] TODO: 重构[通用作弊代码页
](
http://rrpg.duels.link/cheats.html
)
-
[
] TODO: 重构[通用作弊代码页
](
http://rrpg.duels.link/cheats.html
)
-
[ ] 统一界面风格
-
[ ] 统一界面风格
-
[ ] 卡片展示
-
[ ] 卡片展示
...
...
src/Content.svelte
View file @
ead293d0
...
@@ -334,7 +334,7 @@
...
@@ -334,7 +334,7 @@
// -----------------------------
// -----------------------------
// NOTE: 初始化执行 -> 考虑用 onMount
// NOTE: 初始化执行 -> 考虑用 onMount
// 初始化请求 -> 拉取所有分类
//
1.
初始化请求 -> 拉取所有分类
const isTimeExpired = calcTimerExpired();
const isTimeExpired = calcTimerExpired();
if (!$_category.length || isTimeExpired) {
if (!$_category.length || isTimeExpired) {
fetchStaticCategory();
fetchStaticCategory();
...
@@ -346,6 +346,7 @@
...
@@ -346,6 +346,7 @@
// 更新时间戳
// 更新时间戳
isTimeExpired ? ($_timer = new Date().getTime()) : '';
isTimeExpired ? ($_timer = new Date().getTime()) : '';
// 2. 瀑布流 -> 拉动到页面底部则更新数据
/**对加载下一页进行防抖*/
/**对加载下一页进行防抖*/
let debouncedContinue = debounceImmediate(continueLastSearch, 1000);
let debouncedContinue = debounceImmediate(continueLastSearch, 1000);
...
@@ -371,7 +372,7 @@
...
@@ -371,7 +372,7 @@
}
}
});
});
// 初始化请求 -> 拉取全部条目
//
3.
初始化请求 -> 拉取全部条目
searchDefault();
searchDefault();
</script>
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment