mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-08 05:32:33 +01:00
🚨
This commit is contained in:
parent
7ee9691a8c
commit
b6b1ddd24d
3 changed files with 8 additions and 8 deletions
|
|
@ -29,8 +29,8 @@ export const getDisplayName = (filePath: string, basename = true, removeSY = fal
|
|||
};
|
||||
|
||||
export const getAssetName = (assetPath: string) => {
|
||||
return assetPath.substring(7, assetPath.length - pathPosix().extname(assetPath).length - 23)
|
||||
}
|
||||
return assetPath.substring(7, assetPath.length - pathPosix().extname(assetPath).length - 23);
|
||||
};
|
||||
|
||||
export const isLocalPath = (link: string) => {
|
||||
if (!link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue