上传部分Mysql
This commit is contained in:
1 parent
e2921c8347
commit
51aa7a3502
51 files changed
+682
-17
No files matched your search
@@ -65,6 +65,15 @@ export class FileUtils {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 去除后缀名
|
||||
* @param filename
|
||||
*/
|
||||
static removeExtension(filename:string) {
|
||||
return filename.slice(0, filename.lastIndexOf('.')) || filename;
|
||||
}
|
||||
|
||||
}
|
||||
//
|
||||
// // /home/runner/work/duyl328.github.io/duyl328.github.io/docs/notes/index.md
|
||||
|
||||
Reference in new issue
Block a user