mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
refactor(api): 去除代码版本命名
This commit is contained in:
1 parent
bbc4bdd140
commit
dcf4cb0719
31 files changed
+174
-154
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ const esc = value => String(value).replace(/[&<>"']/g, char => ({'&':'&','<'
|
||||
const findBook = id => books.find(book => book.id === id);
|
||||
const uniqueIds = ids => [...new Set(ids)].filter(id => findBook(id));
|
||||
const today = () => new Date().toLocaleDateString('sv-SE');
|
||||
const storageKey = 'weread-demo-goals-v2';
|
||||
const storageKey = 'weread-demo-goals';
|
||||
let page = 'overview', shelfTab = 'reading', discoverTab = 'books', searchQuery = '', period = 'week';
|
||||
let noteBook = 'all', noteType = 'all', goalFilter = 'all', dataState = 'ready';
|
||||
let detailBook = null, bookTab = 'info', reviewFilter = '全部', selectedChapter = 'all';
|
||||
|
||||
Reference in new issue
Block a user