Merge pull request 'fix:空格问题;' (#240) from yws_dev into main

Reviewed-on: #240
This commit is contained in:
yangws 2025-02-19 16:27:50 +08:00
commit a01d7f08da
1 changed files with 5 additions and 5 deletions

View File

@ -197,11 +197,11 @@ const handleNodeClick = (data) => {
node: nodeData
}
/**
   *
   * 章节数据里面的rootid 为bookId
   * 因为部分数据源的rootid 有问题 这里需要重复赋值一下
   */
  node.rootid = curBook.data.id
*
* 章节数据里面的rootid 为bookId
* 因为部分数据源的rootid 有问题 这里需要重复赋值一下
*/
node.rootid = curBook.data.id
// :electron-store
let defaultExpandedKeys = parentNode ? [parentNode.id] : [nodeData.id]
sessionStore.set('subject.defaultExpandedKeys', defaultExpandedKeys)