Commit 1666ca0e by doszhang

dos

parent ff7ae384
......@@ -226,9 +226,6 @@ function creatPoster() {
}
else
{
checkWord($('[name=customize]').val(),function() {
console.log('success');
});
checkWord($('[name=customize]').val(),function(status){
if(status == 0 || status == -1)
{
......@@ -537,8 +534,12 @@ function checkWord(name,callback) {
name:name
},
success: function(resp){
console.log(123);
callback();
if(resp.status == 1)
{
console.log(123);
callback();
}
else console.log('error');
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment