소스 검색

admin 2月15号

guojing 5 년 전
부모
커밋
163ba7bb63
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      whepi-ui/templates/home/home.ftl

+ 2 - 1
whepi-ui/templates/home/home.ftl

@@ -157,8 +157,9 @@
             type: 'GET',
             success: function (data) {
                 console.log(data);
-                if (v.userId != data.data.userId) {
+                if ($('#userId').val() != data.data.userId) {
                     $.alert('当前求助信息不是你的')
+                    return;
                 } else {
                     window.location.href = "/quzhu/home/quxiao.html?taskId=" + v.taskId + "&userId=" + v.userId;
                     familyClick()