src/components/Tab/index.vue
@@ -20,7 +20,7 @@ <label-panel /> </el-tab-pane> --> <el-tab-pane label="四色图" name="plot"> <plot-panel :type='type' :colorMapList='colorMapList'/> <plot-panel :type='type' :colorMapList='colorMapList' @getList="getList"/> </el-tab-pane> <el-tab-pane label="图标" name="marker"> <marker-panel /> @@ -72,6 +72,10 @@ }; }, methods : { getList(){ debugger this.$emit('getList') } } }; </script>