From 0ea82b9f98d402fa2d68d7327d5711beb09aa06c Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sat, 11 Dec 2021 23:29:19 +0800 Subject: [PATCH] fix userinput empty loading --- resources/assets/js/components/UserInput.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/assets/js/components/UserInput.vue b/resources/assets/js/components/UserInput.vue index 1fe6eb972..9f62fa218 100755 --- a/resources/assets/js/components/UserInput.vue +++ b/resources/assets/js/components/UserInput.vue @@ -159,6 +159,9 @@ }); this.$store.dispatch("getUserBasic", {userid: value}); }); + if (this.list.length == 0) { + this.initialized = true; + } }, searchUser(query) {