Initial commit (code only without large binaries)
This commit is contained in:
16
EdgeAdmin/web/views/@default/settings/ip-library/index.js
Normal file
16
EdgeAdmin/web/views/@default/settings/ip-library/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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("删除成功")
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user