YY 2 years ago
parent
commit
79fce11953
2 changed files with 5 additions and 2 deletions
  1. 4 1
      pagesMatch/matchAdmin/mtgroup/auto.js
  2. 1 1
      project.private.config.json

+ 4 - 1
pagesMatch/matchAdmin/mtgroup/auto.js

@@ -147,7 +147,10 @@ Page({
                     else mapList.push(item.id)
                 });
                 val.person = mapList;
-            } else wx.showToast({ title: `缺少必要信息`, icon: 'error', duration: 2000 }); return;
+            } else {
+                wx.showToast({ title: `缺少必要信息`, icon: 'error', duration: 2000 });
+                return; 
+            }
         }
         wx.showModal({
             title: '提示',

+ 1 - 1
project.private.config.json

@@ -1,7 +1,7 @@
 {
     "projectname": "%E7%BE%BD%E6%A0%A1%E7%AE%A1%E7%90%86%E5%B9%B3%E5%8F%B0",
     "setting": {
-        "compileHotReLoad": true
+        "compileHotReLoad": false
     },
     "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
 }