mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 图表缩略图禁止操作
This commit is contained in:
parent
b7b11d0dc9
commit
56221df3fc
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="base-element-chart"
|
||||
:class="{ 'is-thumbnail': target === 'thumbnail' }"
|
||||
:style="{
|
||||
top: elementInfo.top + 'px',
|
||||
left: elementInfo.left + 'px',
|
||||
@ -44,12 +45,17 @@ import Chart from './Chart.vue'
|
||||
|
||||
defineProps<{
|
||||
elementInfo: PPTChartElement
|
||||
target?: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.base-element-chart {
|
||||
position: absolute;
|
||||
|
||||
&.is-thumbnail {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
.rotate-wrapper {
|
||||
width: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user