From f2dc0f4454547a04b981beff8f2486ebce5ba094 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 27 Aug 2021 10:23:52 +0800 Subject: [PATCH] no message --- pages/login/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/login/index.js b/pages/login/index.js index 8c9fc3a..850d65d 100644 --- a/pages/login/index.js +++ b/pages/login/index.js @@ -90,13 +90,13 @@ Page({ factoryId = factory.factoryId } } - if(!factoryId){ + if(!factory){ factory = this.checkFactoryId() if(factory) { factoryId = factory.factoryId } } - if(!factoryId){ + if(!factory){ this.setData({ loging: false}) Dialog.alert({ title: '温馨提示', message: '还没有您所属的打包站信息,请联系相关客服人员' }).then(() => { })