xj
liuyg
2021-06-24 d8d0f5fb17025c8ea92ef9f03ad5cc57d18b3b16
widgets/spatialAnalysis/Widget.js
@@ -275,14 +275,14 @@
               dom.empty();
               var str = `${name} <i class="layui-icon layui-icon-down layui-font-12"></i>`
               dom.append(str);
               dom = $('#SelectLayerToolItem').hide();
               dom.attr("title", name);
               $('#SelectLayerToolItem').hide();
            })
         },
         fakeName: 'Layermanagement',
         appendItemS: function (item, obj, layer) {
            // console.log('a1')
            var that = this;
            if (item == this.fakeName) {
            if (item == this.name) {
               // $("#SelectLayerToolItemTitle .no-data").stop().hide();
               var flag = true;
@@ -311,7 +311,7 @@
         },
         removeItemS: function (item, obj) {
            // console.log('r1')
            if (item == this.fakeName) {
            if (item == this.name) {
               var liList = $("#SelectLayerToolItemTitle li");
               for (var i = 0; i < liList.length; i++) {
                  if ($(liList[i]).attr('itemid') && $(liList[i]).attr('itemid') == obj.id + 's') {
@@ -331,7 +331,7 @@
         appendTiltS: function (item, obj, layer) {
            // console.log('a2')
            var that = this;
            if (item == this.fakeName) {
            if (item == this.name) {
               // $("#SelectLayerToolItemTitle .no-data").stop().hide();
@@ -360,7 +360,7 @@
         },
         removeTiltS: function (item, obj) {
            // console.log('r2')
            if (item == this.fakeName) {
            if (item == this.name) {
               var liList = $("#SelectLayerToolItemTitle li");
               for (var i = 0; i < liList.length; i++) {
                  if ($(liList[i]).attr('itemid') && $(liList[i]).attr('itemid') == obj.id + 's') {