s
This commit is contained in:
parent
ae50846c94
commit
7301334cfc
@ -20,7 +20,7 @@ async function bootstrap() {
|
|||||||
// 子页面中
|
// 子页面中
|
||||||
app.mount('#app')
|
app.mount('#app')
|
||||||
}
|
}
|
||||||
const origins=['https://erp.fontree.cn','http://172.16.100.93:9010','http://localhost:8080']
|
const origins=['https://erp.fontree.cn','http://172.16.100.93:9010']
|
||||||
window.addEventListener('message', function(event) {
|
window.addEventListener('message', function(event) {
|
||||||
if (origins.includes(event.origin)){
|
if (origins.includes(event.origin)){
|
||||||
localStorage.setItem('token',event.data.token)
|
localStorage.setItem('token',event.data.token)
|
||||||
|
Loading…
Reference in New Issue
Block a user