修复日志查看和用户认证

This commit is contained in:
whyour
2021-03-21 18:21:37 +08:00
parent 386eff8a0b
commit baa16d8ab2
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ const Log = () => {
const getLog = (node: any) => {
setLoading(true);
let url = `${node.parent}/${node.value}`;
if (!node.isDir) {
if (!node.parent) {
url = node.value;
}
request