mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
7a6a47e147
commit
ac062903ab
@ -778,8 +778,8 @@ $(function () {
|
||||
});
|
||||
$.previewImage = function (src, area) {
|
||||
var img = new Image(), defer = $.Deferred(), load = $.msg.loading();
|
||||
img.style.height = 'auto', img.style.width = area || '480px';
|
||||
img.style.display = 'none', img.style.background = '#FFFFFF';
|
||||
img.style.background = '#FFFFFF', img.referrerPolicy = 'no-referrer';
|
||||
img.style.height = 'auto', img.style.width = area || '480px', img.style.display = 'none';
|
||||
document.body.appendChild(img), img.onerror = function () {
|
||||
$.msg.close(load), defer.reject();
|
||||
}, img.onload = function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user