Commit de583ac9 authored by wuhao's avatar wuhao 🎯

asder

parent 1a2118b9
......@@ -13,7 +13,7 @@ export default {
dev: {
[defaultSetting.proxypath]: {
// 要代理的地址
target: 'http://192.168.40.64:28001', //jf哥
target: 'http://ems-test.nangaoyun.com/', //jf哥
// target: 'http://192.168.40.203:8000', //dj哥
changeOrigin: true,
},
......
......@@ -77,6 +77,8 @@ const Login = () => {
password: values.password,
};
try {
history.push('/');
return;
// 登录
const res = await doFetch({
url: `/token/oauth/token?grant_type=password&client_id=NGEMS3&client_secret=ems_Nangao@2022&username=${values?.userName}&password=${values?.password}`,
......
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