File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change
1
+ ## v0.12.1
2
+
3
+ - 🐛 fix: 如果超过 64 个文档,则会显示 undefined
4
+
1
5
## v0.12.0
2
6
3
7
- ✨ feat: 增加了大纲跳转功能
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sy-docs-flow" ,
3
- "version" : " 0.12.0 " ,
3
+ "version" : " 0.12.1 " ,
4
4
"type" : " module" ,
5
5
"description" : " " ,
6
6
"repository" : " " ,
Original file line number Diff line number Diff line change 2
2
"name" : " sy-docs-flow" ,
3
3
"author" : " frostime" ,
4
4
"url" : " https://github.com/frostime/sy-docs-flow" ,
5
- "version" : " 0.12.0 " ,
5
+ "version" : " 0.12.1 " ,
6
6
"minAppVersion" : " 3.0.12" ,
7
7
"backends" : [
8
8
" all"
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ export async function getBlockByID(blockId: string): Promise<Block> {
371
371
372
372
export async function getBlocksByIds ( ...ids : BlockId [ ] ) {
373
373
let idList = ids . map ( ( id ) => `"${ id } "` ) ;
374
- let sqlCode = `select * from blocks where id in (${ idList . join ( "," ) } )` ;
374
+ let sqlCode = `select * from blocks where id in (${ idList . join ( "," ) } ) limit 999 ` ;
375
375
let data = await sql ( sqlCode ) ;
376
376
return data ;
377
377
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import { setting } from "@/settings";
16
16
17
17
import { TabHub , FullScreen } from "@/display" ;
18
18
19
- import { changelog } from "sy-plugin-changelog" ;
19
+ // import { changelog } from "sy-plugin-changelog";
20
20
21
21
const frontEnd = getFrontend ( ) ;
22
22
const isMobile = frontEnd === "mobile" || frontEnd === "browser-mobile" ;
@@ -134,10 +134,10 @@ export default class DocsFlowPlugin extends Plugin {
134
134
//@ts -ignore
135
135
this . eventBus . on ( 'SQL' , this . eventSQL . bind ( this ) ) ;
136
136
137
- changelog ( this , 'i18n/CHANGELOG.md' ) . then ( ( ans ) => {
138
- ans ?. Dialog ?. setSize ( { width : '45rem' , height : '27rem' } ) ;
139
- ans ?. Dialog ?. setFont ( '18px' ) ;
140
- } ) ;
137
+ // changelog(this, 'i18n/CHANGELOG.md').then((ans) => {
138
+ // ans?.Dialog?.setSize({ width: '45rem', height: '27rem' });
139
+ // ans?.Dialog?.setFont('18px');
140
+ // });
141
141
}
142
142
143
143
onunload ( ) {
You can’t perform that action at this time.
0 commit comments