From 0a84a8718e7679cdd2d45f9e5168aa67df5b4720 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sat, 4 Mar 2023 07:14:22 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=82=B9=E5=87=BB=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E5=AF=B9=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/components/UserAvatar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/UserAvatar.vue b/resources/assets/js/components/UserAvatar.vue index 2fd57a46d..f1077f6c5 100755 --- a/resources/assets/js/components/UserAvatar.vue +++ b/resources/assets/js/components/UserAvatar.vue @@ -300,7 +300,9 @@ openDialog() { this.$store.dispatch("showSpinner", 600) - this.$store.dispatch("openDialogUserid", this.userid).catch(({msg}) => { + this.$store.dispatch("openDialogUserid", this.userid).then(_ => { + this.goForward({name: 'manage-messenger'}) + }).catch(({msg}) => { $A.modalError(msg) }).finally(_ => { this.$store.dispatch("hiddenSpinner")