摘要: function Router() { this.routes = {} this.currentHash = '' } var noop = function () {} // 路由注册 Router.prototype.route = function (hash, cb) { this.cur 阅读全文
posted @ 2018-10-16 22:29 carolavie 阅读(337) 评论(0) 推荐(0) 编辑