提交 e3d0980f 编写于 作者: huangxuan258's avatar huangxuan258

修复问题详情页面多个问题点击采纳只能采纳第一条回答问题

上级 b2d8b8fe
...@@ -87,7 +87,7 @@ layui.define(['laypage', 'fly', 'element', 'flow'], function(exports){ ...@@ -87,7 +87,7 @@ layui.define(['laypage', 'fly', 'element', 'flow'], function(exports){
layer.msg("手机号码有误"); layer.msg("手机号码有误");
return false; return false;
} }
$.post(g_site_url+"index.php?user/getsmscode", {phone: _phone,type:'reg'}, function(flag) { $.post(geturl("user/getsmscode"), {phone: _phone,type:'reg'}, function(flag) {
flag=$.trim(flag); flag=$.trim(flag);
if(flag==1){ if(flag==1){
var _timecount=60; var _timecount=60;
...@@ -715,7 +715,7 @@ if(postsubmiting){ ...@@ -715,7 +715,7 @@ if(postsubmiting){
}) })
} }
var adoptanswer=false; var adoptanswer=false;
$("#adoptbtn").click(function(){ $(".jieda-accept").click(function(){
if(adoptanswer){ if(adoptanswer){
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册