Closed itodouble closed 1 year ago
2.4.0-beta.3
Windows
上传后会在图片后面增加 undefined 例如 https://markdown.itodouble.top/2023/07/18/17-02-bb466bc0bf1eaf54c2fb7b70e82e4bb5-021a19.pngundefined 实际上并没有
新安装的picgo 用的七牛云 也只安装了picgo-plugin-rename-file 插件 用作更改上传目录 规则是{y}/{m}/{d}/{h}-{i}-{hash}-{rand:6}
picgo-plugin-rename-file
{y}/{m}/{d}/{h}-{i}-{hash}-{rand:6}
2023-07-18 16:05:47 [PicGo INFO] [PicGo Server] is listening at 36677 2023-07-18 16:05:47 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] 2023-07-18 16:05:47 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully 2023-07-18 16:11:09 [PicGo INFO] [PicGo Server] is listening at 36677 2023-07-18 16:11:09 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] 2023-07-18 16:11:09 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully 2023-07-18 16:52:55 [PicGo SUCCESS] 插件安装成功 2023-07-18 16:54:53 [PicGo INFO] upload clipboard file 2023-07-18 16:54:57 [PicGo INFO] Before transform 2023-07-18 16:54:57 [PicGo INFO] Transforming... Current transformer is [path] 2023-07-18 16:54:57 [PicGo INFO] Before upload 2023-07-18 16:54:57 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-07-18 16:54:57 [PicGo INFO] beforeUploadPlugins: rename-file running 2023-07-18 16:54:57 [PicGo INFO] Uploading... Current uploader is [qiniu] 2023-07-18 16:54:57 [PicGo SUCCESS] https://markdown.itodouble.top/2023/07/18/16-54-58fc55544eac97e8824c566d5db0d36f-d6bb58.pngundefined 2023-07-18 16:56:24 [PicGo INFO] get builtin shortKey handler for command: [picgo:upload] 2023-07-18 16:56:24 [PicGo INFO] upload clipboard file 2023-07-18 16:56:25 [PicGo INFO] Before transform 2023-07-18 16:56:25 [PicGo INFO] Transforming... Current transformer is [path] 2023-07-18 16:56:25 [PicGo INFO] Before upload 2023-07-18 16:56:25 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-07-18 16:56:25 [PicGo INFO] beforeUploadPlugins: rename-file running 2023-07-18 16:56:25 [PicGo INFO] Uploading... Current uploader is [qiniu] 2023-07-18 16:56:25 [PicGo SUCCESS] https://markdown.itodouble.top/2023/07/18/16-56-af708d5d32e1b7d3f9155b914d614b23-23756a.pngundefined
rename-file 插件的问题,请去插件仓库提问
不是插件的问题
配置文件中必须要又"options":""否则会把图片的url定义为http://xx.xx/xxxxxxx.pngundefined 后缀加上undefined
"options":""
http://xx.xx/xxxxxxx.pngundefined
undefined
需要先把‘设定网址后缀’设置有值后清空才会有
前置阅读 | Pre-reading
PicGo的版本 | PicGo Version
2.4.0-beta.3
系统信息 | System Information
Windows
问题重现 | Bug reproduce
上传后会在图片后面增加 undefined 例如 https://markdown.itodouble.top/2023/07/18/17-02-bb466bc0bf1eaf54c2fb7b70e82e4bb5-021a19.pngundefined 实际上并没有
新安装的picgo 用的七牛云 也只安装了
picgo-plugin-rename-file
插件 用作更改上传目录 规则是{y}/{m}/{d}/{h}-{i}-{hash}-{rand:6}
相关日志 | Logs
2023-07-18 16:05:47 [PicGo INFO] [PicGo Server] is listening at 36677 2023-07-18 16:05:47 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] 2023-07-18 16:05:47 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully 2023-07-18 16:11:09 [PicGo INFO] [PicGo Server] is listening at 36677 2023-07-18 16:11:09 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] 2023-07-18 16:11:09 [PicGo INFO] register builtin shortKey command: [picgo:upload] - [CommandOrControl+Shift+P] successfully 2023-07-18 16:52:55 [PicGo SUCCESS] 插件安装成功 2023-07-18 16:54:53 [PicGo INFO] upload clipboard file 2023-07-18 16:54:57 [PicGo INFO] Before transform 2023-07-18 16:54:57 [PicGo INFO] Transforming... Current transformer is [path] 2023-07-18 16:54:57 [PicGo INFO] Before upload 2023-07-18 16:54:57 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-07-18 16:54:57 [PicGo INFO] beforeUploadPlugins: rename-file running 2023-07-18 16:54:57 [PicGo INFO] Uploading... Current uploader is [qiniu] 2023-07-18 16:54:57 [PicGo SUCCESS] https://markdown.itodouble.top/2023/07/18/16-54-58fc55544eac97e8824c566d5db0d36f-d6bb58.pngundefined 2023-07-18 16:56:24 [PicGo INFO] get builtin shortKey handler for command: [picgo:upload] 2023-07-18 16:56:24 [PicGo INFO] upload clipboard file 2023-07-18 16:56:25 [PicGo INFO] Before transform 2023-07-18 16:56:25 [PicGo INFO] Transforming... Current transformer is [path] 2023-07-18 16:56:25 [PicGo INFO] Before upload 2023-07-18 16:56:25 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-07-18 16:56:25 [PicGo INFO] beforeUploadPlugins: rename-file running 2023-07-18 16:56:25 [PicGo INFO] Uploading... Current uploader is [qiniu] 2023-07-18 16:56:25 [PicGo SUCCESS] https://markdown.itodouble.top/2023/07/18/16-56-af708d5d32e1b7d3f9155b914d614b23-23756a.pngundefined