This commit is contained in:
2025-09-05 19:18:46 +08:00
25 changed files with 2165 additions and 819 deletions

View File

@ -67,7 +67,8 @@ const submitForm = async (formEl: FormInstance | undefined) => {
const add = throttle(async () => {
let parentId = getKeyOfSelectedNode(window.treeObj, 'id')
let fnone = getSelectedNode(window.treeObj)
const res = await TreeApi.addDirectory({
const res: any = await TreeApi.addDirectory({
id: new YJ.Tools().randomString(),
sourceName: form.sourceName,
parentId
})