From 7423b4725e7e445b3522b5cfa90f47b1ab8371d6 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 19 Aug 2024 10:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E5=95=86=E5=AE=B6=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/shop/local_store/edit.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/admin/view/shop/local_store/edit.html b/app/admin/view/shop/local_store/edit.html index d3061711..b5b87445 100755 --- a/app/admin/view/shop/local_store/edit.html +++ b/app/admin/view/shop/local_store/edit.html @@ -231,7 +231,12 @@ offset: '15px' , icon: 1 , time: 1000 - }); + }, function() { + var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name + parent.layer.close(index); + parent.layui.table.reload('like-table-lists'); + return true; + }, 500); } } }); @@ -252,7 +257,12 @@ offset: '15px' , icon: 1 , time: 1000 - }); + }, function() { + var index=parent.layer.getFrameIndex(window.name); //获取当前窗口的name + parent.layer.close(index); + parent.layui.table.reload('like-table-lists'); + return true; + }, 500); } } });