當fileExt=.doc || .docx ||.pdf類型時,走下面var=url這兩行代碼(線上打開文檔);當fileExt=其他當類型是,走我注釋當這行代碼return "<a href='/oa/bpmDocumentAttachment/downloadAttachment.do?uuid=" + rowData.uuid + "'>" + colValue + "</a>";(本地下載打開)
jsp中fileExt判斷后綴類型走不同方法,
杜傘傘
2018-08-14 11:14:40