mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
更新图片错误图标;发布新版本
This commit is contained in:
@@ -12,12 +12,12 @@ use think\console\Output;
|
|||||||
|
|
||||||
class VersionBase extends Command
|
class VersionBase extends Command
|
||||||
{
|
{
|
||||||
public const VERSION = 'v2.0.51';
|
public const VERSION = 'v2.0.52';
|
||||||
|
|
||||||
public const LAYUI_VERSION = '2.8.17';
|
public const LAYUI_VERSION = '2.8.17';
|
||||||
|
|
||||||
public const COMMENT = [
|
public const COMMENT = [
|
||||||
'修复快捷查询错误',
|
'更新图片错误图标',
|
||||||
'发布新版本',
|
'发布新版本',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
BIN
public/static/admin/images/upload-icons/image-error.png
Normal file
BIN
public/static/admin/images/upload-icons/image-error.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -2124,7 +2124,7 @@
|
|||||||
|
|
||||||
if (extGroup.image.indexOf(ext) != -1) {
|
if (extGroup.image.indexOf(ext) != -1) {
|
||||||
// 是图片
|
// 是图片
|
||||||
liHtml += '<li><a title="点击预览"><img src="' + v + '" data-images onerror="this.src=\'/admin/images/upload-icons/' + uploadIcon + '.png\';this.onerror=null"></a><small class="uploads-delete-tip bg-red badge" data-upload-delete="' + uploadName + '" data-upload-filename-field="' + uploadFilenameField + '" data-upload-url="' + v + '" data-upload-sign="' + uploadSign + '">×</small></li>\n';
|
liHtml += '<li><a title="点击预览"><img src="' + v + '" data-images onerror="this.src=\'/static/admin/images/upload-icons/image-error.png\';this.onerror=null"></a><small class="uploads-delete-tip bg-red badge" data-upload-delete="' + uploadName + '" data-upload-filename-field="' + uploadFilenameField + '" data-upload-url="' + v + '" data-upload-sign="' + uploadSign + '">×</small></li>\n';
|
||||||
} else {
|
} else {
|
||||||
// 不是图片
|
// 不是图片
|
||||||
// 遍历extGroup数组找到扩展名所在的索引
|
// 遍历extGroup数组找到扩展名所在的索引
|
||||||
|
|||||||
Reference in New Issue
Block a user