perf: 点击头像进入对话

This commit is contained in:
kuaifan 2023-03-04 07:14:22 +08:00
parent b1f5cae663
commit 0a84a8718e

View File

@ -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")