Min 1 vuosi sitten
vanhempi
commit
b90769e650

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/controller/UserWithBeisenController.java

@@ -106,7 +106,7 @@ public class UserWithBeisenController {
         return httpRespMsg;
     }
 
-    @RequestMapping("getSwipingCards")
+    @RequestMapping("/getSwipingCards")
     public HttpRespMsg getSwipingCards(String createDate){
         HttpRespMsg httpRespMsg=new HttpRespMsg();
         Integer companyId = userMapper.selectById(request.getHeader("token")).getCompanyId();

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/projectApproval/projectApproval.vue

@@ -520,7 +520,7 @@ methods: {
                 if (this.addForm.auditUserIds) {
                     targetData.auditUserIds=this.addForm.auditUserIds
                 }
-                if(this.addForm.auditUserIds.length != 0) {
+                if(this.addForm.auditUserIds&&this.addForm.auditUserIds.length != 0) {
                     let userArray=[]
                     for(let i in this.addForm.auditUserIds){
                         userArray.push({