From c9ddd928097f9569932fa3dead655bc3b53827b0 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 28 十二月 2022 10:32:56 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 1767665..cae0e3d 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -401,8 +401,7 @@ } } if (add) { - console.log(mat); - if(mat.batch == '') { + if(mat.batch === '' || mat.batch === null) { mat.batch = today } this.matList.unshift(mat) -- Gitblit v1.9.1