修复tooltip单击复制文本不生效的问题

pull/481/head
RuoYi 11 months ago
parent 92d121175d
commit 192c0c5241

@ -318,7 +318,7 @@ var table = {
_value = _value.replace(/\'/g,"'"); _value = _value.replace(/\'/g,"'");
_value = _value.replace(/\"/g,"""); _value = _value.replace(/\"/g,""");
var actions = []; var actions = [];
actions.push($.common.sprintf('<input style="opacity: 0;position: absolute;width:5px;z-index:-1" type="text" value="%s"/>', _value)); actions.push($.common.sprintf('<input style="opacity: 0;position: absolute;z-index:-1" type="text" value="%s"/>', _value));
actions.push($.common.sprintf('<a href="###" class="tooltip-show" data-toggle="tooltip" data-target="%s" title="%s">%s</a>', _target, _value, _text)); actions.push($.common.sprintf('<a href="###" class="tooltip-show" data-toggle="tooltip" data-target="%s" title="%s">%s</a>', _target, _value, _text));
return actions.join(''); return actions.join('');
} else { } else {

Loading…
Cancel
Save