登录路径处理调整

This commit is contained in:
fan 2023-08-16 16:17:52 +08:00
parent ae8c202dbe
commit b9830714c7

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().replace(/_/, '')}&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}`, '登录路径', {