mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-28 16:17:02 +00:00
@@ -147,7 +147,9 @@ export const Utils = {
|
||||
return encodeURIComponent(e);
|
||||
}).join('/');
|
||||
*/
|
||||
|
||||
if (!path) {
|
||||
return '';
|
||||
}
|
||||
var path_arr = path.split('/');
|
||||
var path_arr_ = [];
|
||||
for (var i = 0, len = path_arr.length; i < len; i++) {
|
||||
|
Reference in New Issue
Block a user