Commit 66234c4a authored by nanahira's avatar nanahira

add filename to pic

parent 5c77c21b
...@@ -196,6 +196,7 @@ export class PicsPlugin { ...@@ -196,6 +196,7 @@ export class PicsPlugin {
} }
let msg = `获取到图片:\n${segment('image', { let msg = `获取到图片:\n${segment('image', {
url: result.url, url: result.url,
file: result.url.split('/').pop(),
cache: true, cache: true,
})}`; })}`;
if (result.description) { if (result.description) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment