mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
featr: 新增图层选中的样式
This commit is contained in:
@@ -75,7 +75,7 @@ const designStore = useDesignStore()
|
||||
const themeColor = ref(designStore.getAppTheme)
|
||||
|
||||
const chartEditStore = getChartEditStore()
|
||||
const chartEditStoreEnum = getChartEditStoreEnum()
|
||||
const ChartEditStoreEnum = getChartEditStoreEnum()
|
||||
const { lockScale, scale } = toRefs(chartEditStore.getEditCanvas)
|
||||
|
||||
// 缩放选项
|
||||
@@ -117,7 +117,7 @@ const selectHandle = (v: number) => {
|
||||
// 点击锁处理
|
||||
const lockHandle = () => {
|
||||
chartEditStore.setEditCanvasItem(
|
||||
chartEditStoreEnum.LOCK_SCALE,
|
||||
ChartEditStoreEnum.LOCK_SCALE,
|
||||
!lockScale.value
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user