Files
waf-platform/EdgeAdmin/web/views/@default/settings/ip-library/index.js

16 lines
359 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Tea.context(function () {
this.teaweb = teaweb
this.deleteArtifact = function (artifactId) {
let that = this
teaweb.confirm("确定要删除此IP库吗", function () {
that.$post("/settings/ip-library/delete")
.params({
artifactId: artifactId
})
.success(function () {
teaweb.successRefresh("删除成功")
})
})
}
})