提交 1b419f38 编写于 作者: 一子三木's avatar 一子三木 提交者: gaojun2048

fix The create user is always loading when the queue does not select any value

上级 02bccb99
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册