This commit is contained in:
Phoenix 2024-01-30 16:37:30 +08:00
parent ae50846c94
commit 7301334cfc

View File

@ -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)