比如从文件路径 C:\Users\Administrator\Documents\Cnblogs\会员救园.17520031.md
中获取文件名 会员救园.17520031.md
通过 Working with file system paths and file URLs on Node.js 解决了
import path from 'path'
const filePath = path.win32.parse(String.raw`C:\Users\Administrator\Documents\Cnblogs\test.17520031.md`)
const fileName = filePath.base