|
|
@@ -8,7 +8,8 @@ window.BACKEND_VERSION = 'V2';
|
|
|
|
|
|
const url = computed(() => {
|
|
|
const token = localStorage.getItem('token_a');
|
|
|
- return `/api/enterpriselogin/doLoginByToken?enterpriseCode=${route.query?.enterpriseCode || ''}&token=${token || ''}`;
|
|
|
+ const { enterpriseCode, webSite } = route.query;
|
|
|
+ return `${webSite}/api/enterpriselogin/doLoginByToken?enterpriseCode=${enterpriseCode || ''}&token=${token || ''}`;
|
|
|
});
|
|
|
</script>
|
|
|
|