From e96322043649fdc8fc02d886ac19cf8342a43248 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期一, 04 十一月 2024 11:37:13 +0800 Subject: [PATCH] 在登录时判断用户密码过期需要修改时,由于还未登录去获取当前Session的用户时,是null,所以导致报错,增加如果为空,直接使用界面传的用户。 --- Source/plt-web/plt-web-ui/src/components/refer/vciWebRefer.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/refer/vciWebRefer.vue b/Source/plt-web/plt-web-ui/src/components/refer/vciWebRefer.vue index c07ef45..71b1c3d 100644 --- a/Source/plt-web/plt-web-ui/src/components/refer/vciWebRefer.vue +++ b/Source/plt-web/plt-web-ui/src/components/refer/vciWebRefer.vue @@ -178,10 +178,10 @@ }, data() { return { - refertype: this.referConfig.type, + refertype: this.referConfig.options.type, emitData: {}, - width:this.referConfig.width || '900px', - height:this.referConfig.height || '500px' + width:this.referConfig.options.width, + height:this.referConfig.options.height }; }, computed: { -- Gitblit v1.9.3