;
      // 提交前判断是否为空
      if (is_empty(username, password, o_password)) {
        return
      }
      $.ajax({
        url: "/api/change_password",
        data: { o_password, password, username },
        type: "POST",
        dataType: "json",
        success: function (data) {
          console.log(data);
          if (data.error) {
            $("#o_password+.invalid-feedback").css("display", "block")
          } else {
            $(".success_modal_button").click()
          }
     