From c97b6515f0149030f8b757faae378cc24c256a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Fri, 31 Dec 2021 11:48:12 +0800 Subject: [PATCH] 26261 --- src/apps/AppWalkask/selectType.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/apps/AppWalkask/selectType.vue b/src/apps/AppWalkask/selectType.vue index e984b8b1..53f1ec19 100644 --- a/src/apps/AppWalkask/selectType.vue +++ b/src/apps/AppWalkask/selectType.vue @@ -123,9 +123,12 @@ export default { }, submit() { - uni.$emit('goBack', { selectUser: this.selectUser, applicationName: this.applicationName, applicationId: this.applicationId }) - uni.navigateBack() - // uni.navigateTo({ url: `./add` }) + if (this.selectUser.length > 0) { + uni.$emit('goBack', { selectUser: this.selectUser, applicationName: this.applicationName, applicationId: this.applicationId }) + uni.navigateBack() + } else { + return this.$u.toast('请选择人员') + } }, toUserSelect(item) {