52,797
社区成员
发帖
与我相关
我的任务
分享
$.ajax({
url: url,
type: "post",
dataType: "json",
async: false,
success: function (msgx) {
$("#xx").val(msgx.data);
//给 input 赋值。
$.ajax({
type: "POST",
url: url2,
contentType: "application/json",
data: JSON.stringify(vm.appoint),
success: function(r){
if(r.code === 0){
alert('操作成功', function(index){
vm.reload();
});
}else{
alert(r.msg);
}
}
});
}
});