mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 处理位置定位的问题
This commit is contained in:
@@ -35,6 +35,8 @@ const option = computed(() => {
|
||||
const attr = toRef(props.chartData, 'attr')
|
||||
const wrapperStyle = computed(() => {
|
||||
return {
|
||||
left: `${attr.value.x}px`,
|
||||
top: `${attr.value.y}px`,
|
||||
width: `${attr.value.w}px`,
|
||||
height: `${attr.value.h}px`,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user