From 55978c7f154cd8655a93dd813736d070560b3f0a Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 10 Dec 2019 09:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=B5=AE=E5=8A=A8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=8D=95=E5=8F=8C=E5=BC=95=E5=8F=B7=E8=BD=AC=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 8236e1b10..fb11b71c9 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -274,10 +274,11 @@ var table = { var _target = $.common.isEmpty(target) ? 'copy' : target; if (_value.length > _length) { _text = _value.substr(0, _length) + "..."; - _value = _value.replace(/\'/g,"’"); + _value = _value.replace(/\'/g,"'"); + _value = _value.replace(/\"/g,"""); var actions = []; actions.push($.common.sprintf('', _value)); - actions.push($.common.sprintf("%s", _target, _value, _text)); + actions.push($.common.sprintf('%s', _target, _value, _text)); return actions.join(''); } else { _text = _value;