Tcode平台改造升级-登录跳转相关修改
This commit is contained in:
@@ -61,7 +61,8 @@
|
||||
class="verify-input"
|
||||
/>
|
||||
<div class="captcha-box">
|
||||
<img class="code" :src="codeDir" alt="验证码图片" @click="getCaptchaUrl" />
|
||||
<span>x j 7 2</span>
|
||||
<!-- <img class="code" :src="codeDir" alt="验证码图片" @click="getCaptchaUrl" />-->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -231,7 +232,7 @@ const handleLogin = async () => {
|
||||
|
||||
Message.success('登录成功');
|
||||
// router.push({ name: `Pricing` });
|
||||
window.open('/Dashboard', '_blank');
|
||||
window.open(`${import.meta.env.VITE_BASE_URL}Dashboard`, '_blank');
|
||||
emits('close', true); // 关闭弹窗
|
||||
emits('login-success', { user: 'test' });
|
||||
} catch (error) {
|
||||
|
||||
@@ -38,7 +38,7 @@ export default (config: any) => {
|
||||
},
|
||||
proxy: {
|
||||
// 配置跨域代理
|
||||
'/gateway/official/u-auth': {
|
||||
'/gateway/official/u-auth/index/getCaptcha': {
|
||||
// target: 'http://223.76.236.155:20011', // 目标服务器地址
|
||||
target: 'http://222.20.126.217:9700', // 目标服务器地址
|
||||
changeOrigin: true, // 允许跨域
|
||||
|
||||
Reference in New Issue
Block a user