mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-22 21:46:23 +08:00
fix: 修改规范性命名问题
This commit is contained in:
parent
f4df648e5a
commit
b5d54ed173
@ -0,0 +1,3 @@
|
|||||||
|
import LayersListItem from './index.vue'
|
||||||
|
|
||||||
|
export { LayersListItem }
|
@ -1,3 +0,0 @@
|
|||||||
import ListItem from './index.vue'
|
|
||||||
|
|
||||||
export { ListItem }
|
|
@ -13,15 +13,15 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- 图层内容 -->
|
<!-- 图层内容 -->
|
||||||
<list-item
|
<layers-list-item
|
||||||
v-for="item in reverseList"
|
v-for="item in reverseList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:componentData="item"
|
:componentData="item"
|
||||||
@mousedown="mousedownHandle(item)"
|
@mousedown="mousedownHandle(item)"
|
||||||
@mouseenter="mouseenterHandle(item)"
|
@mouseenter="mouseenterHandle(item)"
|
||||||
@mouseleave="mouseleaveHandle(item)"
|
@mouseleave="mouseleaveHandle(item)"
|
||||||
@contextmenu="handleContextMenu($event)"
|
@contextmenu="handleContextMenu($event)"
|
||||||
></list-item>
|
></layers-list-item>
|
||||||
</content-box>
|
</content-box>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -32,18 +32,13 @@ import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayou
|
|||||||
import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
|
import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
|
||||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||||
import { CreateComponentType } from '@/packages/index.d'
|
import { CreateComponentType } from '@/packages/index.d'
|
||||||
import cloneDeep from 'lodash/cloneDeep';
|
import cloneDeep from 'lodash/cloneDeep'
|
||||||
import {
|
|
||||||
ChartEditStoreEnum,
|
|
||||||
TargetChartType
|
|
||||||
} from '@/store/modules/chartEditStore/chartEditStore.d'
|
|
||||||
import {
|
import {
|
||||||
useContextMenu,
|
useContextMenu,
|
||||||
MenuOptionsItemType,
|
|
||||||
MenuEnum
|
MenuEnum
|
||||||
} from '@/views/chart/hooks/useContextMenu.hook'
|
} from '@/views/chart/hooks/useContextMenu.hook'
|
||||||
|
|
||||||
import { ListItem } from './components/ListItem/index'
|
import { LayersListItem } from './components/LayersListItem/index'
|
||||||
import { icon } from '@/plugins'
|
import { icon } from '@/plugins'
|
||||||
|
|
||||||
const { LayersIcon } = icon.ionicons5
|
const { LayersIcon } = icon.ionicons5
|
||||||
@ -55,7 +50,7 @@ const { handleContextMenu } = useContextMenu({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 逆序输出
|
// 逆序输出
|
||||||
const reverseList = computed(()=>{
|
const reverseList = computed(() => {
|
||||||
const list: CreateComponentType[] = cloneDeep(chartEditStore.getComponentList)
|
const list: CreateComponentType[] = cloneDeep(chartEditStore.getComponentList)
|
||||||
return list.reverse()
|
return list.reverse()
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user