fix:1,修改

main
YuanJian 2025-09-01 09:00:17 +08:00
parent f750cd4434
commit 250e3125c6
2 changed files with 5 additions and 6 deletions

View File

@ -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
} }
}) })

View File

@ -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); }
// }
}) })
}; };