如何用按钮实现呢
赞 0 2021-07-28 16:11
给按钮增加个点击事件 : window.open("http://localhost:8075/webroot/help/通讯录.rar") 这里注意的是要把这个Excel文件“通讯录.xls”压缩成 rar 或zip 格式的,不然点击下载时浏览器会自动代开文件,很不友好
赞 0 2022-02-16 09:37
不支持按钮实现的
赞 0 2021-08-04 14:16
打个卡
赞 0 2021-06-20 22:10
把help文件下的“通讯录.xls”复制到webroot\WEB-INF\reportlets文件夹下,然后绝对路径“http://localhost:8075/webroot/WEB-INF/reportlets/通讯录.xls ”报错,实现不了。只有help下的文件才可吗?另外help下xlsx文件也实现不了。求解。
赞 0 2020-11-02 13:58
可以的哦,需要提供下报错,看看是哪里出问题了
赞 0 2021-08-04 14:18
文档超赞的!
赞 0 2020-09-16 14:08
很有用
赞 0 2020-09-10 09:01
15 评论
如何用按钮实现呢
赞 0 2021-07-28 16:11
给按钮增加个点击事件 :
window.open("http://localhost:8075/webroot/help/通讯录.rar")
这里注意的是要把这个Excel文件“通讯录.xls”压缩成 rar 或zip 格式的,不然点击下载时浏览器会自动代开文件,很不友好
赞 0 2022-02-16 09:37
不支持按钮实现的
赞 0 2021-08-04 14:16
打个卡
赞 0 2021-06-20 22:10
把help文件下的“通讯录.xls”复制到webroot\WEB-INF\reportlets文件夹下,然后绝对路径“http://localhost:8075/webroot/WEB-INF/reportlets/通讯录.xls
”报错,实现不了。只有help下的文件才可吗?另外help下xlsx文件也实现不了。求解。
赞 0 2020-11-02 13:58
可以的哦,需要提供下报错,看看是哪里出问题了
赞 0 2021-08-04 14:18
文档超赞的!
赞 0 2020-09-16 14:08
很有用
赞 0 2020-09-10 09:01