|
@@ -137,8 +137,8 @@
|
|
|
return v.toString(16);
|
|
|
});
|
|
|
};
|
|
|
- const baseURL = 'https://test-mix3d.4dkankan.com/fusion/notAuth/getLoginAuthCode'
|
|
|
- let getCode = ''
|
|
|
+ const baseURL = ''
|
|
|
+ let getCode = '/service/manage/getLoginAuthCode'
|
|
|
const imgKey = ref(guid());
|
|
|
const refer = () => (imgKey.value = guid());
|
|
|
const codeImg = computed(() => baseURL + getCode + "?key=" + imgKey.value);
|
|
@@ -178,7 +178,7 @@
|
|
|
const userInfo = await userStore.login({
|
|
|
password: data.password,
|
|
|
username: data.account,
|
|
|
- code: data.code,
|
|
|
+ authCode: data.code,
|
|
|
mode: 'none', //不要默认的错误提示
|
|
|
});
|
|
|
if (userInfo) {
|