修改树节点区县key
This commit is contained in:
parent
04305171ce
commit
4001c4942f
@ -114,7 +114,7 @@ const getTreeData = async () => {
|
||||
type: "root",
|
||||
children: res.data.areaList.map((qx, index) => (
|
||||
{
|
||||
id: index,
|
||||
id: qx.qxmc,
|
||||
name: `${qx.qxmc}(${qx.sbsl})`,
|
||||
type: 'area',
|
||||
children: qx.yhzList.map(site => ({
|
||||
|
||||
@ -130,7 +130,7 @@ const getTreeData = async () => {
|
||||
type: "root",
|
||||
children: res.data.areaList.map((qx, index) => (
|
||||
{
|
||||
id: index,
|
||||
id: qx.qxmc,
|
||||
name: `${qx.qxmc}(${qx.wzsl})`,
|
||||
type: 'area',
|
||||
children: qx.yhzList.map(site => ({
|
||||
|
||||
@ -113,7 +113,7 @@ const getTreeData = async () => {
|
||||
type: 'root',
|
||||
children: res.data.areaList.map((qx, index) => (
|
||||
{
|
||||
id: index,
|
||||
id: qx.qxmc,
|
||||
name: `${qx.qxmc}(${qx.bxsjsl})`,
|
||||
type: 'area',
|
||||
children: qx.yhzList.map(site => ({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user