mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-15 12:46:34 +08:00
12 lines
267 B
JavaScript
12 lines
267 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.deleteLocation = function (locationId) {
|
||
|
|
teaweb.confirm("确定要删除此路径规则吗?", function () {
|
||
|
|
this.$post(".delete")
|
||
|
|
.params({
|
||
|
|
webId: this.webId,
|
||
|
|
locationId: locationId
|
||
|
|
})
|
||
|
|
.refresh()
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|