瀏覽代碼

修复bug

olym 7 年之前
父節點
當前提交
429044e74a
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 1
      modules/users/routes/boot_route.js
  2. 0 1
      web/users/html/login-infoinput.html

+ 1 - 1
modules/users/routes/boot_route.js

@@ -13,6 +13,6 @@ module.exports=function (app){
     let bootController = new BootController();
 
 // 引导页面
-    router.get('/:compilation', bootController.boot);
+    router.get('/:compilation', bootController.init, bootController.boot);
     app.use('/boot', router);
 };

+ 0 - 1
web/users/html/login-infoinput.html

@@ -61,7 +61,6 @@
                         </div>
                     </div>
                     <div class="form-group">
-                        <input type="hidden" name="version" value="<%= version %>"/>
                         <button class="btn btn-primary btn-block" type="submit">下一步</button>
                     </div>
                 </div>