Files
waf-platform/EdgeAdmin/web/views/@default/clusters/grants/index.js

11 lines
231 B
JavaScript

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