Files
EdgeAdmin/web/views/@default/servers/server/settings/locations/index.js

12 lines
267 B
JavaScript
Raw Normal View History

2020-09-21 19:51:50 +08:00
Tea.context(function () {
this.deleteLocation = function (locationId) {
teaweb.confirm("确定要删除此路径规则吗?", function () {
this.$post(".delete")
.params({
webId: this.webId,
locationId: locationId
})
.refresh()
})
}
})