Update index.js
`location.host` contains the hostname and the port while `location.hostname` is only the hostname
This commit is contained in:
parent
e746dcd787
commit
68e41789ce
|
@ -1,6 +1,6 @@
|
|||
Vue.component(VueQrcode.name, VueQrcode);
|
||||
|
||||
var locationPath = [window.location.protocol, '//', window.location.hostname, window.location.pathname].join('');
|
||||
var locationPath = [window.location.protocol, '//', window.location.host, window.location.pathname].join('');
|
||||
|
||||
var mapWithdrawLink = function (obj) {
|
||||
obj._data = _.clone(obj);
|
||||
|
|
Loading…
Reference in New Issue
Block a user