updated frontend

This commit is contained in:
marvzhang
2021-07-15 21:37:37 +08:00
parent 058531b267
commit caf2380f99
550 changed files with 27134 additions and 49444 deletions

View File

@@ -0,0 +1,8 @@
export const getPrimaryPath = (path: string): string => {
const arr = path.split('/');
if (arr.length <= 1) {
return path;
} else {
return `/${arr[1]}`;
}
};