importpathfrom'path';constobj=path.parse('img/works.png');obj是undefined,官方说应该类似:{root:"/",dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
constobj=path.parse('img/works.png');obj是undefined,官方说应该类似:{root:"/",dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
obj是undefined,官方说应该类似:{root:"/",dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
{root:"/",dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
root:"/",dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
dir:"/home/user/dir",base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
base:"file.txt",ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
ext:".txt",name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
name:"file"}https://nodejs.org/api/path.html#path_path_parse_pathstring
}https://nodejs.org/api/path.html#path_path_parse_pathstring
https://nodejs.org/api/path.html#path_path_parse_pathstring
隔江千里
相关分类