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