diff --git a/pages/project/project.vue b/pages/project/project.vue index b189f5e..706d44d 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -88,7 +88,7 @@ export default { }, methods: { submit() { - if (this.project.name == null || this.project.code == null || this.project.cost == null || this.project.price == null || this.project.spec == null || this.project.unit == null || this.project.manHour == null){ + if (this.project.name == null||this.project.name == ''){ uni.showToast({ title: '请完善信息', icon: 'none'