✨ add picbed config name display, upgrade dependencies, improve gallery #1086
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
共进行了三处修改:
在上传界面中,标题栏添加了配置名的显示,在支持多份配置后,只显示图床名不太方便区分不同配置,有时需要额外点进去确认。

修改了相册img标签的
object-fit属性,由fill修改为contain。fill会强制拉伸图片来填满整个区域,会导致图片变形,有时甚至糊成一片,而且,图片本身的长宽比等就是用来快速区分图片的一部分,因此修改为contain,具体对比如下:【fill】

【contain】

yarn run dev可见uuidv4已被弃用,根据提示更换为uuid 9.0.0版本,运行正常