From e736b13d437c5a3535dcd02b726c3359b4feab3e Mon Sep 17 00:00:00 2001 From: hdm Date: Sat, 18 Jun 2022 09:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20treeGrid.=E6=97=B6?= =?UTF-8?q?=E5=80=99=E5=85=B3=E9=97=AD=E5=8F=B3=E5=BC=80=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=9B=9E=E8=B0=83bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/article/cate.html | 2 +- app/admin/view/goods/cate.html | 2 +- app/admin/view/nav/nav_info.html | 2 +- app/admin/view/rule/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/admin/view/article/cate.html b/app/admin/view/article/cate.html index ccad841..953a85e 100644 --- a/app/admin/view/article/cate.html +++ b/app/admin/view/article/cate.html @@ -21,7 +21,7 @@ const moduleInit = ['tool', 'treeGrid']; function gouguInit() { var treeGrid = layui.treeGrid,table = layui.table, tool = layui.tool; - layui.pageTable = treeGrid.render({ + var pageTable = treeGrid.render({ id:'treeTable' ,elem: '#treeTable' ,idField:'id' diff --git a/app/admin/view/goods/cate.html b/app/admin/view/goods/cate.html index 8a34db9..49f1431 100644 --- a/app/admin/view/goods/cate.html +++ b/app/admin/view/goods/cate.html @@ -21,7 +21,7 @@ const moduleInit = ['tool', 'treeGrid']; function gouguInit() { var treeGrid = layui.treeGrid,table = layui.table, tool = layui.tool; - layui.pageTable = treeGrid.render({ + var pageTable = treeGrid.render({ id:'treeTable' ,elem: '#treeTable' ,idField:'id' diff --git a/app/admin/view/nav/nav_info.html b/app/admin/view/nav/nav_info.html index dd35566..508540a 100644 --- a/app/admin/view/nav/nav_info.html +++ b/app/admin/view/nav/nav_info.html @@ -26,7 +26,7 @@ const moduleInit = ['tool', 'treeGrid']; function gouguInit() { var treeGrid = layui.treeGrid,table = layui.table, tool = layui.tool; - layui.pageTable = treeGrid.render({ + var pageTable = treeGrid.render({ id: 'treeTable', elem: '#treeTable', idField: 'id', diff --git a/app/admin/view/rule/index.html b/app/admin/view/rule/index.html index 276b1e7..0590018 100644 --- a/app/admin/view/rule/index.html +++ b/app/admin/view/rule/index.html @@ -18,7 +18,7 @@ const moduleInit = ['tool', 'treeGrid']; function gouguInit() { var treeGrid = layui.treeGrid,table = layui.table, tool = layui.tool; - layui.pageTable = treeGrid.render({ + var pageTable = treeGrid.render({ id: 'treeTable' , elem: '#treeTable' , idField: 'id'