Browse Source

remove setTimeout function.

pull/3/MERGE
zhuangchong 4 years ago
parent
commit
281e1be82f
  1. 4
      dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue

4
dolphinscheduler-ui/src/js/conf/home/pages/user/pages/token/_source/createToken.vue

@ -123,9 +123,7 @@
this.store.dispatch(`user/${this.item ? 'updateToken' : 'createToken'}`, 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

Loading…
Cancel
Save