Feat: Remember path

This commit is contained in:
HFO4 2019-03-09 19:27:25 +08:00
parent 2e2357e794
commit 3d82929a3b
2 changed files with 10 additions and 0 deletions

View file

@ -35,6 +35,7 @@ class Home extends Controller{
'extLimit' => $extLimit,
'policyData' => $policyData,
'groupData' => $groupData,
'path' => input("?get.path")?input("get.path"):"",
]);
}

View file

@ -38,6 +38,15 @@
download:"/File/Download",
docPreiview:'/File/DocPreview',
};
userInfo={
uid:{$userInfo.uid},
nick:"{$userInfo.userNick}",
email:"{$userInfo.userMail}",
group:"{$userInfo.groupData.group_name}",
groupId:{$userInfo.groupData.id},
groupColor:"{$userInfo.groupData.color}",
};
path = "{$path}";
mediaType = {}
</script>
</head>