diff --git a/templates/system/power/main.html b/templates/system/power/main.html
index d9331cd1bac9a232720a9e1a1073dbb645817195..67617ff3cb7b446050aec592007cfcaa2ca4dcbe 100644
--- a/templates/system/power/main.html
+++ b/templates/system/power/main.html
@@ -209,7 +209,7 @@
title: '修改',
shade: 0.1,
area: ['450px', '500px'],
- content: MODULE_PATH + 'edit/' + obj.data['powerId']
+ content: MODULE_PATH + 'edit/' + obj.data['id']
})
}
window.remove = function (obj) {
@@ -217,7 +217,7 @@
layer.close(index)
let loading = layer.load()
$.ajax({
- url: MODULE_PATH + 'remove/' + obj.data['powerId'],
+ url: MODULE_PATH + 'remove/' + obj.data['id'],
dataType: 'json',
type: 'delete',
success: function (result) {