mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-25 10:59:13 +08:00
1、重新实现数据库初始化
2、新增超级管理员可以转让项目 3、新增超级管理员可以公开项目
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
<div class="modal-footer">
|
||||
<span id="form-error-message"></span>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
||||
<button type="submit" class="btn btn-success">保存</button>
|
||||
<button type="submit" class="btn btn-success" data-loading-text="保存中..." id="btnAddMember">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -207,6 +207,7 @@
|
||||
if (email === "") {
|
||||
return showError("邮箱不能为空");
|
||||
}
|
||||
$("#btnAddMember").button("loading");
|
||||
return true;
|
||||
},
|
||||
success : function (res) {
|
||||
@@ -216,6 +217,11 @@
|
||||
}else{
|
||||
showError(res.message);
|
||||
}
|
||||
$("#btnAddMember").button("reset");
|
||||
},
|
||||
error : function () {
|
||||
showError("服务器异常");
|
||||
$("#btnAddMember").button("reset");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user