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

pull/481/head
RuoYi 2024-01-08 15:18:03 +08:00
parent 92d121175d
commit 192c0c5241
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ var table = {
_value = _value.replace(/\'/g,"'");
_value = _value.replace(/\"/g,""");
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));
return actions.join('');
} else {