Unverified Commit 697ea0f6 authored by xingchun-chen's avatar xingchun-chen Committed by GitHub
Browse files

Merge pull request #2558 from samz406/dev

fix The create user is always loading when the queue does not select any value
parents 632b2b50 b7e3dd48
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -229,12 +229,18 @@
      },
      _submit () {
        this.$refs['popup'].spinnerLoading = true

        let queueCode = '';
        //get queue code
        if (this.queueName != ''){
          queueCode = this.queueList.length > 0 ? _.find(this.queueList, ['id', this.queueName]).code : ''
        }
        let param = {
          userName: this.userName,
          userPassword: this.userPassword,
          tenantId: this.tenantId,
          email: this.email,
          queue: this.queueList.length>0? _.find(this.queueList, ['id', this.queueName]).code : '',
          queue: queueCode,
          phone: this.phone
        }