This commit is contained in:
Kane Wang 2023-04-28 19:42:48 +08:00
parent 0fb93d0ccd
commit f7d48368c6
1 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export default {
}; };
/** /**
* * 登录函数根据ui.currentMenu判断登录的是坐席还是员工
*/ */
const onLogin = () => const onLogin = () =>
{ {
@ -114,6 +114,7 @@ export default {
}; };
login( info ) login( info )
//
.then(( response ) => .then(( response ) =>
{ {
const data = response.data ?? { success: false, }; const data = response.data ?? { success: false, };
@ -153,6 +154,7 @@ export default {
console.log( data ); console.log( data );
}) })
//
.catch(( error ) => .catch(( error ) =>
{ {
debugger; debugger;