图片预览事件属性修正

pull/159/head
RuoYi 2020-03-30 18:54:19 +08:00
parent 025731a04c
commit 2f24ab1692
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ var table = {
// 图片预览事件 // 图片预览事件
$(optionsIds).off("click").on("click", '.img-circle', function() { $(optionsIds).off("click").on("click", '.img-circle', function() {
var src = $(this).attr('src'); var src = $(this).attr('src');
var width = $(this).data('width'); var target = $(this).data('target');
if($.common.equals("self", target)) { if($.common.equals("self", target)) {
var height = $(this).data('height'); var height = $(this).data('height');
var width = $(this).data('width'); var width = $(this).data('width');