mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
edit ditto.js
This commit is contained in:
parent
63ca84a648
commit
46c644b0ef
@ -212,7 +212,7 @@ function router() {
|
||||
reload: true,
|
||||
config: function () {
|
||||
this.page.identifier = location.hash;
|
||||
this.page.url = 'http://'+location.host+'/#!'+location.hash.replace("#", "");
|
||||
this.page.url = location.href;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user