Commit e3fbdb14 authored by liujiangnan's avatar liujiangnan

fix: 表单忘了改了

parent 143047b3
...@@ -49,12 +49,9 @@ new Vue({ ...@@ -49,12 +49,9 @@ new Vue({
} }
}, },
computed: { computed: {
compDomain: function () { compDomain() {
const protocolStr = document.location.protocol; const protocolStr = document.location.protocol;
if (document.domain.indexOf("staging") < 0 && document.domain != 'localhost') { return `${protocolStr}//api.iplayabc.com/`;
return `${protocolStr}//openapi.iteachabc.com/`;
}
return `${protocolStr}//staging-openapi.iteachabc.com/`;
}, },
} }
}); });
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