扫码关注官方订阅号
补充: excel是字符串,不是变量,type的值是字符串“excel”**
闭关修行中......
像你的basePath那样用<%=excel%>
修正:
“excel” 不是变量,是字符串?那
uploader: '<%= basePath %>Admin/Public/upload1.html?type=excel',
好了
如果excel是java的变量,写法:
uploader: “<%= basePath %>Admin/Public/upload1.html?type=” + <%= excel%>
如果excel是JavaScript的变量,写法:
uploader: “<%= basePath %>Admin/Public/upload1.html?type=” + excel
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
像你的basePath那样用<%=excel%>
修正:
“excel” 不是变量,是字符串?那
好了
如果excel是java的变量,写法:
如果excel是JavaScript的变量,写法: