diff --git a/components/task/taskItem.vue b/components/task/taskItem.vue index 1ef8cce..8c7c754 100644 --- a/components/task/taskItem.vue +++ b/components/task/taskItem.vue @@ -129,8 +129,7 @@ // this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr)) if(this.$store.state.app.userInfo.admin_id)this.navTo(`/subpkg/captain/captain?task_id=${this.$props.datas?.id}`); else this.navTo(`/subpkg/archives/archives?task_id=${this.$props.datas?.id}`); - } else this.navTo(''); - if (this.$props.datas.type == 32) { + } else if (this.$props.datas.type == 32) { // this.navTo('/subpkg/fileTask/fileTask?id=' + JSON.stringify(this.$props.datas?.extend?.informationg?.arr)) this.navTo(`/subpkg/vehicle/vehicle?task_id=${this.$props.datas?.id}`) } else this.navTo('');