diff --git a/src/views/modules/user/user-add-or-update.vue b/src/views/modules/user/user-add-or-update.vue index b71e98b..dc29264 100644 --- a/src/views/modules/user/user-add-or-update.vue +++ b/src/views/modules/user/user-add-or-update.vue @@ -226,8 +226,8 @@ export default { } }) }).catch(() => { }) - } else { - this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/audit/', postData).then(({ data: res }) => { + } else if (postData.state === '2') { + this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/auditNoPass/', postData).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }