登录路径处理调整

This commit is contained in:
fan 2023-08-16 17:50:39 +08:00
parent b9830714c7
commit 9bc7126509

View File

@ -207,7 +207,7 @@ export default {
getDeviceDetail(row.id).then(res=>{
if (res.data) {
let url = '';
url = `${window.location.protocol}//${window.location.host}/cbtc/login?project=${row.project.toLowerCase().replaceAll(/_/, '')}&projectDevice=${row.code}&type=${row.type}`;
url = `${window.location.protocol}//${window.location.host}/cbtc/login?project=${row.project.toLowerCase().replaceAll('_', '')}&projectDevice=${row.code}&type=${row.type}`;
this.url = url;
this.$messageBox();
this.$confirm(`登录路径:${url}`, '登录路径', {