Phoenix 8 months ago
parent ae50846c94
commit 7301334cfc

@ -20,7 +20,7 @@ async function bootstrap() {
// 子页面中
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) {
if (origins.includes(event.origin)){
localStorage.setItem('token',event.data.token)

Loading…
Cancel
Save