扫码关注官方订阅号
Title
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
报的什么错?type="text/html" 这是不是应该是text/template,你的数据格式对吗。
artTemplate里不需要什么render.js把另外最大的错误是这一句var html = template.render('test', data);应该改为var html = template('test', data);
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
报的什么错?type="text/html" 这是不是应该是text/template,你的数据格式对吗。
artTemplate里不需要什么render.js把
另外最大的错误是这一句
var html = template.render('test', data);
应该改为
var html = template('test', data);