From bcb19e8c93c3cabf0d8eb3ee34ed819b3c5a10ef Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 25 十一月 2024 13:14:11 +0800 Subject: [PATCH] #优化地图 --- src/main/webapp/static/js/role/role.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/role/role.js b/src/main/webapp/static/js/role/role.js index 3b91de1..f117ca0 100644 --- a/src/main/webapp/static/js/role/role.js +++ b/src/main/webapp/static/js/role/role.js @@ -7,6 +7,7 @@ headers: {'token': localStorage.getItem('token')}, method: 'GET', success: function (res) { + console.log(res) if (res.code === 200){ powerTreeData = res.data; } else if (res.code === 403){ @@ -40,7 +41,7 @@ ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} ,{field: 'code', align: 'center',title: '缂栫爜'} ,{field: 'name', align: 'center',title: '鍚嶇О'} - ,{field: 'leader$', align: 'center',title: '涓婄骇',event: 'leader', style: 'text-decoration: underline;cursor:pointer'} + ,{field: 'leader$', align: 'center',title: '涓婄骇'} // ,{field: 'level$', align: 'center',title: '瑙掕壊绛夌骇'} ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150} -- Gitblit v1.9.1