File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.1
2+
3+ - 修正链接版本
4+ - 修复取消选择会白屏的问题
Original file line number Diff line number Diff line change 11{
22 "name" : " @alilc/lowcode-plugin-manual" ,
33 "author" : " humphry.huang9@gmail.com" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.1 " ,
55 "description" : " 低代码产品使用手册" ,
66 "main" : " lib/index.js" ,
77 "module" : " es/index.js" ,
Original file line number Diff line number Diff line change @@ -34,7 +34,11 @@ export function Documents() {
3434 < Tree
3535 defaultExpandAll = { true }
3636 selectedKeys = { selection }
37- onSelect = { setSelection }
37+ onSelect = { ( newSelection ) => {
38+ if ( Array . isArray ( newSelection ) && newSelection . length > 0 ) {
39+ setSelection ( newSelection )
40+ }
41+ } }
3842 isNodeBlock = { {
3943 defaultPadingLeft : 1 ,
4044 indent : 1 ,
@@ -54,7 +58,7 @@ export function Documents() {
5458 </ >
5559 ) }
5660 onClick = { ( ) => {
57- window . open ( 'http://lowcode-engine.cn/#/ doc' )
61+ window . open ( 'http://lowcode-engine.cn/doc' )
5862 } }
5963 />
6064 < Tree . Node
@@ -69,7 +73,7 @@ export function Documents() {
6973 </ >
7074 ) }
7175 onClick = { ( ) => {
72- window . open ( 'https ://www.yuque.com/lce/ doc/ engine-changelog' )
76+ window . open ( 'http ://lowcode-engine.cn/ doc?url= engine-changelog' )
7377 } }
7478 />
7579 < Tree . Node
@@ -84,7 +88,7 @@ export function Documents() {
8488 </ >
8589 ) }
8690 onClick = { ( ) => {
87- window . open ( 'https ://www.yuque.com/lce/ doc/ engine-ext-changelog' )
91+ window . open ( 'http ://lowcode-engine.cn/ doc?url= engine-ext-changelog' )
8892 } }
8993 />
9094 < Tree . Node
You can’t perform that action at this time.
0 commit comments