fix: 预览设置的高宽参数颠倒

pull/137/head
deng-cc 2019-10-09 11:45:33 +08:00
parent 81ec67d4ea
commit e0f091819b
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@
// blank or self // blank or self
var _target = $.common.isEmpty(target) ? 'self' : target; var _target = $.common.isEmpty(target) ? 'self' : target;
if ($.common.isNotEmpty(value)) { if ($.common.isNotEmpty(value)) {
return $.common.sprintf("<img class='img-circle img-xs' data-height='%s' data-width='%s' data-target='%s' src='%s'/>", width, height, _target, value); return $.common.sprintf("<img class='img-circle img-xs' data-height='%s' data-width='%s' data-target='%s' src='%s'/>", height, width, _target, value);
} else { } else {
return $.common.nullToStr(value); return $.common.nullToStr(value);
} }