From 65c748e2654cac875f2823990d84ab7e9091c851 Mon Sep 17 00:00:00 2001 From: huanghao1412 Date: Fri, 23 Feb 2024 10:40:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BB=84=E6=80=81?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=99=BB=E5=BD=95=E8=B4=A6=E6=88=B7undefined?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomComponents/EngineeringConfig/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/packages/components/CustomComponents/CustomComponents/EngineeringConfig/index.vue b/src/packages/components/CustomComponents/CustomComponents/EngineeringConfig/index.vue index d71dd865..0e6ae882 100644 --- a/src/packages/components/CustomComponents/CustomComponents/EngineeringConfig/index.vue +++ b/src/packages/components/CustomComponents/CustomComponents/EngineeringConfig/index.vue @@ -26,7 +26,9 @@ const { w, h } = toRefs(props.chartConfig.attr) const originStore = useOriginStore() let url = computed(() => { - const account = originStore?.getOriginStore?.user?.user?.account + // const account = originStore?.getOriginStore?.user?.user?.account + console.log(originStore.getOriginStore) + const account = 'admin' const password = 'laimi@123' let origin = process.env.NODE_ENV === 'production' ? window.location.origin : 'http://192.168.0.42:9528' let str = `${origin}/static/#/dynamicRing/schematicDiagram/${props.chartConfig.customData.mapId}?parentOrigin=${window.location.origin}&isIframe=true&account=${account}&password=${password}`