Authored by 鲁尚清

【无】【拓扑视图】选择拓扑下拉选项展示异常

@@ -493,6 +493,9 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun @@ -493,6 +493,9 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun
493 admin.req({ 493 admin.req({
494 url: common.domainName + '/api-web/mxgraph/getPage' 494 url: common.domainName + '/api-web/mxgraph/getPage'
495 , type: "get" 495 , type: "get"
  496 + , data: {
  497 + isDefault:1
  498 + }
496 , done: function (data) { 499 , done: function (data) {
497 var topolist = data.data; 500 var topolist = data.data;
498 if (topolist != null && topolist.length > 0) { 501 if (topolist != null && topolist.length > 0) {
@@ -714,7 +717,7 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun @@ -714,7 +717,7 @@ layui.define(['common', 'sessions', 'commonDetail', 'mxClient', 'cascader'], fun
714 717
715 //拓扑树组件渲染 718 //拓扑树组件渲染
716 $.ajax({ 719 $.ajax({
717 - url: common.domainName + '/api-web/mxgraph/getPageByTree?access_token=' + accessToken, 720 + url: common.domainName + '/api-web/mxgraph/getPageByTree?isDefault=1&access_token=' + accessToken,
718 type: 'get', 721 type: 'get',
719 success: function (res) { 722 success: function (res) {
720 if (res && res.data) { 723 if (res && res.data) {