From 0f032347696aff30cfe09c357adda15939499f4d Mon Sep 17 00:00:00 2001 From: fs-danaus <danaus314@qq.com> Date: 星期五, 01 十二月 2023 18:20:10 +0800 Subject: [PATCH] 优化导出及表格选择行问题 --- WebRoot/js/hotkey.js | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/WebRoot/js/hotkey.js b/WebRoot/js/hotkey.js index fd6d85c..6501c64 100644 --- a/WebRoot/js/hotkey.js +++ b/WebRoot/js/hotkey.js @@ -150,9 +150,6 @@ mygrid.excelTitle = new Base64().encode("~" + mygrid.gridTitlefun());// a闈㈡澘+鏍肩嚎鐨勫姩鎬佹爣棰� var str = mygrid.exportExcl(); excelurl = str.split("&p&")[0]; - if (excelurl.indexOf("flag=") < 0) { - excelurl += "flag=-1"; - } TGData = str.split("&p&")[1].replace("TGData=", ""); } else { if (typeof (panMain) != "undefined") @@ -190,7 +187,7 @@ var input3 = $('<input>'); input3.attr('type', 'hidden'); input3.attr('name', 'flag'); - input3.attr('value', obj.flag); + input3.attr('value', -1); form.append(input3); var input4 = $('<input>'); input4.attr('type', 'hidden'); -- Gitblit v1.8.0