Commit 59d59a3a authored by 王万里's avatar 王万里

add : 兼容处理

parent 2ac2bf29
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
<!-- endbuild --> <!-- endbuild -->
<script> <script>
window.addEventListener('message',(event) =>{ window.addEventListener('message',(event) =>{
console.log(event)
document.cookie = event.data document.cookie = event.data
var Days = 365; var Days = 365;
var exp = new Date(); var exp = new Date();
......
// 测试环境 // 测试环境
// const API_ADDRESS = "http://localhost:8055/Cityinterface/rest/services/PandaWorkflow.svc" // const API_ADDRESS = "http://localhost:8089/Cityinterface/rest/services/PandaWorkflow.svc"
// 切换线上环境 // 切换线上环境
const API_ADDRESS = "http://192.168.19.105:8055/Cityinterface/rest/services/PandaWorkflow.svc" // const API_ADDRESS = window.location.origin + "/Cityinterface/rest/services/PandaWorkflow.svc"
const API_ADDRESS = window.location.ancestorOrigins[0] + "/Cityinterface/rest/services/PandaWorkflow.svc"
window.API_ADDRESS = API_ADDRESS window.API_ADDRESS = API_ADDRESS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment