在使用backbone做官网的todo的demo时遇到这样一个问题 总是报Uncaught Error: A "url" property or function must be specified这个错误。最后对比是发现 localStorage: new Backbone.LocalStorage("todos-backbone"), 这个造成的。这是原因呢?为什么。求高手解答下。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你有加载backbone.localstorage.js 插件吗?
你想要使用LocalStorage功能,必须额外加载这个插件