From 5596f32940edaf1539dd0708ac98ed690aaf0ad6 Mon Sep 17 00:00:00 2001 From: finalpro Date: Sun, 25 Jun 2023 13:11:21 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E3=80=81?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=8C=89=E9=92=AE=E5=8A=A8=E4=BD=9C=E4=BC=A0?= =?UTF-8?q?=E5=8F=82=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: finalpro --- templates/system/power/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/system/power/main.html b/templates/system/power/main.html index d9331cd..67617ff 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) { -- Gitee