651bef48 by lihua

s

1 parent c888c64d
......@@ -36,7 +36,7 @@ const useUserStore = defineStore(
data.userType = 2;
// data.appKey = '691689d8e4b0f359c04d204a';
data.validateUri = location.origin == 'http://localhost:9000' ? 'http://localhost:9000/' : location.origin + '/';
return getTokenPromise.value = getTokenByCode(data).then(async (res: any) => {
return getTokenPromise.value = getTokenByCode(data).then((res: any) => {
getTokenPromise.value = null;
console.log(res);
if (res.code == '00000') {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!