Files
EdgeAdmin/web/views/@default/clusters/grants/index.js
2020-10-25 21:27:28 +08:00

11 lines
231 B
JavaScript

Tea.context(function () {
this.deleteGrant = function (grantId) {
teaweb.confirm("确定要删除此认证吗?", function () {
this.$post(".delete")
.params({
"grantId": grantId
})
.refresh();
});
};
});