Explorar el Código

admin 2月15号

guojing hace 5 años
padre
commit
163ba7bb63
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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()