소스 검색

签名移除修复

laiguoran 5 년 전
부모
커밋
e2b5b44269
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/profile.js

+ 1 - 1
app/public/js/profile.js

@@ -114,7 +114,7 @@ $(document).ready(function() {
         // 移除签名
         $('#delete-sign').click(function () {
             postData('/profile/sign/delete', {}, function (result) {
-                $('#sign-show').remove();
+                $('#sign-show').html('');
                 toast('移除成功', 'success');
             })
         });