From b9830714c7a8cc819e93c403de218c9bdfe2f6e5 Mon Sep 17 00:00:00 2001 From: fan Date: Wed, 16 Aug 2023 16:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=AF=E5=BE=84=E5=A4=84?= =?UTF-8?q?=E7=90=86=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/deviceManage/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/deviceManage/index.vue b/src/views/system/deviceManage/index.vue index d73089b4c..67c09d180 100644 --- a/src/views/system/deviceManage/index.vue +++ b/src/views/system/deviceManage/index.vue @@ -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}`, '登录路径', {