fix:1,修改
parent
f750cd4434
commit
250e3125c6
|
@ -256,7 +256,7 @@ const currencySelectArr = getLocalStorage('currencySelect')?.map(item => {
|
||||||
};
|
};
|
||||||
}); //
|
}); //
|
||||||
const randomAlphaNumeric =(length = 6) =>{
|
const randomAlphaNumeric =(length = 6) =>{
|
||||||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';
|
||||||
return Array.from({ length }, () => chars[Math.floor(Math.random() * chars.length)]).join('');
|
return Array.from({ length }, () => chars[Math.floor(Math.random() * chars.length)]).join('');
|
||||||
}
|
}
|
||||||
// 修改时数据更新相关内容
|
// 修改时数据更新相关内容
|
||||||
|
@ -321,7 +321,7 @@ const getSiteJdbcSelects = () => {
|
||||||
jdbcSelectArr.value = res.data.map((item) => {
|
jdbcSelectArr.value = res.data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
label: item.driverClassName,
|
label: item.dataName,
|
||||||
value: item.id
|
value: item.id
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -275,10 +275,9 @@ const handleLogin = (row) => {
|
||||||
tenantLogin({
|
tenantLogin({
|
||||||
tenantId: row.tenantId,
|
tenantId: row.tenantId,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
if (res.code == 200) {
|
||||||
// if (res.code == 200) {
|
window.open(`https://${row.backendDomain}?token=${res.token}`);
|
||||||
// window.open(res.data.loginUrl);
|
}
|
||||||
// }
|
|
||||||
})
|
})
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue