修复任务跳转脚本未显示文件大小,订阅删除未删除 repo 目录

This commit is contained in:
whyour
2024-09-08 21:08:15 +08:00
parent 69fcf45231
commit ff98c3a499
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -108,6 +108,7 @@ const Script = () => {
};
const item = findNode(_data, (c) => c.key === obj.node.key);
if (item) {
obj.node = item;
setExpandedKeys([p as string]);
onTreeSelect([vkey], obj);
}
@@ -643,7 +644,7 @@ const Script = () => {
fontSize: 12,
lineNumbersMinChars: 3,
glyphMargin: false,
accessibilitySupport: 'off'
accessibilitySupport: 'off',
}}
onMount={(editor) => {
editorRef.current = editor;