Skip to content

Commit 043159d

Browse files
committed
Merge branch 'dev'
2 parents f464a85 + ace00ba commit 043159d

123 files changed

Lines changed: 6116 additions & 4507 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc-auto-import.json

Lines changed: 66 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,53 @@
1313
"MaybeRefOrGetter": true,
1414
"PropType": true,
1515
"Ref": true,
16+
"Slot": true,
17+
"Slots": true,
1618
"VNode": true,
1719
"WritableComputedRef": true,
1820
"acceptHMRUpdate": true,
21+
"asyncComputed": true,
22+
"autoResetRef": true,
1923
"computed": true,
24+
"computedAsync": true,
25+
"computedEager": true,
26+
"computedInject": true,
27+
"computedWithControl": true,
28+
"controlledComputed": true,
29+
"controlledRef": true,
2030
"createApp": true,
31+
"createEventHook": true,
32+
"createGlobalState": true,
33+
"createInjectionState": true,
2134
"createPinia": true,
35+
"createReactiveFn": true,
36+
"createRef": true,
37+
"createReusableTemplate": true,
38+
"createSharedComposable": true,
39+
"createTemplatePromise": true,
40+
"createUnrefFn": true,
2241
"customRef": true,
42+
"debouncedRef": true,
43+
"debouncedWatch": true,
2344
"defineAsyncComponent": true,
2445
"defineComponent": true,
2546
"defineStore": true,
47+
"eagerComputed": true,
2648
"effectScope": true,
49+
"extendRef": true,
2750
"getActivePinia": true,
2851
"getCurrentInstance": true,
2952
"getCurrentScope": true,
3053
"h": true,
54+
"ignorableWatch": true,
3155
"inject": true,
56+
"injectLocal": true,
57+
"isDefined": true,
3258
"isProxy": true,
3359
"isReactive": true,
3460
"isReadonly": true,
3561
"isRef": true,
62+
"makeDestructurable": true,
3663
"mapActions": true,
3764
"mapGetters": true,
3865
"mapState": true,
@@ -46,101 +73,63 @@
4673
"onBeforeRouteUpdate": true,
4774
"onBeforeUnmount": true,
4875
"onBeforeUpdate": true,
76+
"onClickOutside": true,
4977
"onDeactivated": true,
78+
"onElementRemoval": true,
5079
"onErrorCaptured": true,
80+
"onKeyStroke": true,
81+
"onLongPress": true,
5182
"onMounted": true,
5283
"onRenderTracked": true,
5384
"onRenderTriggered": true,
5485
"onScopeDispose": true,
5586
"onServerPrefetch": true,
87+
"onStartTyping": true,
5688
"onUnmounted": true,
5789
"onUpdated": true,
5890
"onWatcherCleanup": true,
59-
"provide": true,
60-
"reactive": true,
61-
"readonly": true,
62-
"ref": true,
63-
"resolveComponent": true,
64-
"setActivePinia": true,
65-
"setMapStoreSuffix": true,
66-
"shallowReactive": true,
67-
"shallowReadonly": true,
68-
"shallowRef": true,
69-
"storeToRefs": true,
70-
"toRaw": true,
71-
"toRef": true,
72-
"toRefs": true,
73-
"toValue": true,
74-
"triggerRef": true,
75-
"unref": true,
76-
"useAttrs": true,
77-
"useCssModule": true,
78-
"useCssVars": true,
79-
"useId": true,
80-
"useLink": true,
81-
"useModel": true,
82-
"useRoute": true,
83-
"useRouter": true,
84-
"useSlots": true,
85-
"useTemplateRef": true,
86-
"watch": true,
87-
"watchEffect": true,
88-
"watchPostEffect": true,
89-
"watchSyncEffect": true,
90-
"ipcRenderer": true,
91-
"asyncComputed": true,
92-
"autoResetRef": true,
93-
"computedAsync": true,
94-
"computedEager": true,
95-
"computedInject": true,
96-
"computedWithControl": true,
97-
"controlledComputed": true,
98-
"controlledRef": true,
99-
"createEventHook": true,
100-
"createGlobalState": true,
101-
"createInjectionState": true,
102-
"createReactiveFn": true,
103-
"createReusableTemplate": true,
104-
"createSharedComposable": true,
105-
"createTemplatePromise": true,
106-
"createUnrefFn": true,
107-
"debouncedRef": true,
108-
"debouncedWatch": true,
109-
"eagerComputed": true,
110-
"extendRef": true,
111-
"ignorableWatch": true,
112-
"injectLocal": true,
113-
"isDefined": true,
114-
"makeDestructurable": true,
115-
"onClickOutside": true,
116-
"onKeyStroke": true,
117-
"onLongPress": true,
118-
"onStartTyping": true,
11991
"pausableWatch": true,
92+
"provide": true,
12093
"provideLocal": true,
12194
"reactify": true,
12295
"reactifyObject": true,
96+
"reactive": true,
12397
"reactiveComputed": true,
12498
"reactiveOmit": true,
12599
"reactivePick": true,
100+
"readonly": true,
101+
"ref": true,
126102
"refAutoReset": true,
127103
"refDebounced": true,
128104
"refDefault": true,
129105
"refThrottled": true,
130106
"refWithControl": true,
107+
"resolveComponent": true,
131108
"resolveRef": true,
132109
"resolveUnref": true,
110+
"setActivePinia": true,
111+
"setMapStoreSuffix": true,
112+
"shallowReactive": true,
113+
"shallowReadonly": true,
114+
"shallowRef": true,
115+
"storeToRefs": true,
133116
"syncRef": true,
134117
"syncRefs": true,
135118
"templateRef": true,
136119
"throttledRef": true,
137120
"throttledWatch": true,
121+
"toRaw": true,
138122
"toReactive": true,
123+
"toRef": true,
124+
"toRefs": true,
125+
"toValue": true,
126+
"triggerRef": true,
139127
"tryOnBeforeMount": true,
140128
"tryOnBeforeUnmount": true,
141129
"tryOnMounted": true,
142130
"tryOnScopeDispose": true,
143131
"tryOnUnmounted": true,
132+
"unref": true,
144133
"unrefElement": true,
145134
"until": true,
146135
"useActiveElement": true,
@@ -159,6 +148,7 @@
159148
"useArrayUnique": true,
160149
"useAsyncQueue": true,
161150
"useAsyncState": true,
151+
"useAttrs": true,
162152
"useBase64": true,
163153
"useBattery": true,
164154
"useBluetooth": true,
@@ -171,8 +161,11 @@
171161
"useCloned": true,
172162
"useColorMode": true,
173163
"useConfirmDialog": true,
164+
"useCountdown": true,
174165
"useCounter": true,
166+
"useCssModule": true,
175167
"useCssVar": true,
168+
"useCssVars": true,
176169
"useCurrentElement": true,
177170
"useCycleList": true,
178171
"useDark": true,
@@ -207,6 +200,7 @@
207200
"useFullscreen": true,
208201
"useGamepad": true,
209202
"useGeolocation": true,
203+
"useId": true,
210204
"useIdle": true,
211205
"useImage": true,
212206
"useInfiniteScroll": true,
@@ -215,13 +209,15 @@
215209
"useIntervalFn": true,
216210
"useKeyModifier": true,
217211
"useLastChanged": true,
212+
"useLink": true,
218213
"useLocalStorage": true,
219214
"useMagicKeys": true,
220215
"useManualRefHistory": true,
221216
"useMediaControls": true,
222217
"useMediaQuery": true,
223218
"useMemoize": true,
224219
"useMemory": true,
220+
"useModel": true,
225221
"useMounted": true,
226222
"useMouse": true,
227223
"useMouseInElement": true,
@@ -246,17 +242,22 @@
246242
"usePreferredDark": true,
247243
"usePreferredLanguages": true,
248244
"usePreferredReducedMotion": true,
245+
"usePreferredReducedTransparency": true,
249246
"usePrevious": true,
250247
"useRafFn": true,
251248
"useRefHistory": true,
252249
"useResizeObserver": true,
250+
"useRoute": true,
251+
"useRouter": true,
252+
"useSSRWidth": true,
253253
"useScreenOrientation": true,
254254
"useScreenSafeArea": true,
255255
"useScriptTag": true,
256256
"useScroll": true,
257257
"useScrollLock": true,
258258
"useSessionStorage": true,
259259
"useShare": true,
260+
"useSlots": true,
260261
"useSorted": true,
261262
"useSpeechRecognition": true,
262263
"useSpeechSynthesis": true,
@@ -266,6 +267,7 @@
266267
"useStyleTag": true,
267268
"useSupported": true,
268269
"useSwipe": true,
270+
"useTemplateRef": true,
269271
"useTemplateRefsList": true,
270272
"useTextDirection": true,
271273
"useTextSelection": true,
@@ -297,14 +299,18 @@
297299
"useWindowFocus": true,
298300
"useWindowScroll": true,
299301
"useWindowSize": true,
302+
"watch": true,
300303
"watchArray": true,
301304
"watchAtMost": true,
302305
"watchDebounced": true,
303306
"watchDeep": true,
307+
"watchEffect": true,
304308
"watchIgnorable": true,
305309
"watchImmediate": true,
306310
"watchOnce": true,
307311
"watchPausable": true,
312+
"watchPostEffect": true,
313+
"watchSyncEffect": true,
308314
"watchThrottled": true,
309315
"watchTriggerable": true,
310316
"watchWithFilter": true,

.github/workflows/latest.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Latest
22

33
on:
4-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
57

68
jobs:
79
build:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ download/
3232
data/
3333
less.json
3434
ajax-test.mjs
35-
.VSCodeCounter/
35+
.VSCodeCounter/
36+
components.d.ts

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# TODO
22

3-
- [ ] 把窗口拖到副显示器,然后显示设置只在主显示器,窗口无法复位,需要修复。
3+
- [ ] 把窗口拖到副显示器,然后显示设置只在主显示器,窗口无法复位。
4+
- [ ] 子评论回复
5+
6+
# v2.0.0
7+
8+
- 重构了 electron 侧代码,去除依赖注入框架,使用 trpc 进行 rpc 通信,简化代码逻辑。
9+
- 重构了下载模块,现在下载无需使用 JCoin 购买(如果需要的话)只要本子能无登录观看,就能直接下载。
10+
- 统一页面的样式,主要是 vuetify 组件的 variant ,color 属性。
11+
- header 处去除搜索、每周必看、本子分类,这三块放在首页顶部。
12+
- header 在小屏下将会改为下拉。
13+
- 更新了最新的 api 接口 2025.07.04 可用,该接口不会出现阅读跳转到别的本子的情况。
14+
- 本子列表项作者部分不再分行,如果作者过多会出现动画滚动(从左到右循环)。
15+
- 调整了阅读页的样式,现在滚动阅读底部不会被工具栏遮挡。
16+
- 增加了一些日志记录。
17+
- 下载路径不再自定义,统一放在 data/download 下。
18+
- 下载模块去除了 better-sqlite3 依赖,改为简单的 json 存储。
19+
- 带搜索的页面搜索条件将会成为新的一条路由记录,比如搜索页搜索 A 之后再搜索 B ,按 esc 或者 header 处的返回按钮返回时将会回到搜索 A 的页面。
20+
- 修复了评论时间显示不正确问题。
21+
- 修复了一些样式错误。
22+
- 修复了切换图源没有保存到本地问题。
23+
- 更新 electron 至 37.2.0
424

525
# v1.11.x
626

0 commit comments

Comments
 (0)