mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-29 05:42:20 +00:00
edit ditto.js
This commit is contained in:
parent
1cd7e8b754
commit
73d451a612
@ -204,7 +204,7 @@ function router() {
|
||||
reload: true,
|
||||
config: function () {
|
||||
this.page.identifier = location.hash;
|
||||
this.page.url = location.href;
|
||||
this.page.url = 'http://'+location.host+'/'+location.hash.replace("#", "");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user