riku
2024-08-23 1788c96aea9247cc36ef8b82734997f1a6a92fb4
src/components/map/MapToolbox.vue
@@ -1,6 +1,6 @@
<template>
  <el-dropdown
    class="p-events-auto dropdown-wrap"
    class="p-events-auto"
    trigger="click"
    size="small"
    @command="handleCommand"
@@ -72,25 +72,25 @@
            this.value = !this.value;
            toolbox.toggleCoorPicking(this.value);
          }
        },
        {
          icon: 'fa fa-compass',
          label: '数据标记',
          value: true,
          click: function () {
            this.value = !this.value;
            // todo 数据标记
          }
        },
        {
          icon: 'fa fa-compass',
          label: '数据弹框',
          value: true,
          click: function () {
            this.value = !this.value;
            // todo 数据弹框
          }
        }
        // {
        //   icon: 'fa fa-compass',
        //   label: '数据标记',
        //   value: true,
        //   click: function () {
        //     this.value = !this.value;
        //     // todo 数据标记
        //   }
        // },
        // {
        //   icon: 'fa fa-compass',
        //   label: '数据弹框',
        //   value: true,
        //   click: function () {
        //     this.value = !this.value;
        //     // todo 数据弹框
        //   }
        // }
      ]
    };
  },
@@ -103,12 +103,6 @@
</script>
<style scoped>
.dropdown-wrap {
  position: absolute;
  top: 10px;
  left: 2px;
}
.el-button {
  margin: initial !important;
}