已采纳回答 / MirorXu
检查html 文件中是否引入了 vue-resource.js ,引用路径是否正确。看看是不是写错字母了 <...code...>本人菜鸟.... 仅供参考。
2017-09-21
已采纳回答 / mmmnnmm
我是用xampp启动本地服务器apache,把文件放在htdocs目录下面,再打开cart.html页面,url改成http://localhost/unit/cart.html进去的
2017-08-08
已采纳回答 / 八宝君
if(this.checkAllFlag){ this.productList.forEach(function(item,index){ if( typeof item.checked == 'undefined'){ _this.$set(item,"checked",_this.checkAllFlag); }else{ item.checked = _this.checkAllFlag; ...
2017-07-27