Authored by wenjiekong

身份验证失败,隐藏form

@@ -111,6 +111,7 @@ function submitIdentity(json) { @@ -111,6 +111,7 @@ function submitIdentity(json) {
111 if (data.code === 200) { 111 if (data.code === 200) {
112 window.location.href = data.data; 112 window.location.href = data.data;
113 } else { 113 } else {
  114 + $identityForm.addClass('hide');
114 $('identity-back-wrap').remove(); 115 $('identity-back-wrap').remove();
115 $('#identity-wrap').append(identityFn({msg: data.message})); 116 $('#identity-wrap').append(identityFn({msg: data.message}));
116 } 117 }