diff --git a/src/views/chart/ContentLayers/components/ListItem/index.ts b/src/views/chart/ContentLayers/components/ListItem/index.ts new file mode 100644 index 00000000..9e177f8e --- /dev/null +++ b/src/views/chart/ContentLayers/components/ListItem/index.ts @@ -0,0 +1,3 @@ +import ListItem from './index.vue' + +export { ListItem } diff --git a/src/views/chart/ContentLayers/components/ListItem/index.vue b/src/views/chart/ContentLayers/components/ListItem/index.vue new file mode 100644 index 00000000..ecf83486 --- /dev/null +++ b/src/views/chart/ContentLayers/components/ListItem/index.vue @@ -0,0 +1,17 @@ + + + + + diff --git a/src/views/chart/ContentLayers/index.vue b/src/views/chart/ContentLayers/index.vue index 248f8487..88ed37da 100644 --- a/src/views/chart/ContentLayers/index.vue +++ b/src/views/chart/ContentLayers/index.vue @@ -11,7 +11,9 @@ + + @@ -19,19 +21,25 @@ import { ContentBox } from '../ContentBox/index' import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore' import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d' +import { useChartEditStoreStore } from '@/store/modules/chartEditStore/chartEditStore' +import { ListItem } from './components/ListItem/index' import { icon } from '@/plugins' + const { LayersIcon } = icon.ionicons5 const chartLayoutStore = useChartLayoutStore() +const chartEditStore = useChartEditStoreStore() + const backHandle = () => { chartLayoutStore.setItem(ChartLayoutStoreEnum.LAYERS, false) }