diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue index 4fa8e5cf7c..f3a6155795 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/queue/_source/createQueue.vue @@ -88,9 +88,7 @@ let $then = (res) => { this.$emit('onUpdate') this.$message.success(res.msg) - setTimeout(() => { - this.$refs.popover.spinnerLoading = false - }, 800) + this.$refs.popover.spinnerLoading = false } let $catch = (e) => { diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue index 551baca1db..3bc83a0284 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/tenement/_source/createTenement.vue @@ -144,9 +144,7 @@ this.store.dispatch(`security/${this.item ? 'updateQueue' : 'createQueue'}`, param).then(res => { this.$emit('onUpdate') this.$message.success(res.msg) - setTimeout(() => { - this.$refs.popover.spinnerLoading = false - }, 800) + this.$refs.popover.spinnerLoading = false }).catch(e => { this.$message.error(e.msg || '') this.$refs.popover.spinnerLoading = false diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue index 138bb2c064..1ff5550f9b 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue @@ -268,9 +268,7 @@ } this.store.dispatch(`security/${this.item ? 'updateUser' : 'createUser'}`, param).then(res => { - setTimeout(() => { - this.$refs.popover.spinnerLoading = false - }, 800) + this.$refs.popover.spinnerLoading = false this.$emit('onUpdate', param) this.$message.success(res.msg) }).catch(e => {