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>
|
<template>
|
||||||
<div class="base-element-chart"
|
<div class="base-element-chart"
|
||||||
|
:class="{ 'is-thumbnail': target === 'thumbnail' }"
|
||||||
:style="{
|
:style="{
|
||||||
top: elementInfo.top + 'px',
|
top: elementInfo.top + 'px',
|
||||||
left: elementInfo.left + 'px',
|
left: elementInfo.left + 'px',
|
||||||
@ -44,12 +45,17 @@ import Chart from './Chart.vue'
|
|||||||
|
|
||||||
defineProps<{
|
defineProps<{
|
||||||
elementInfo: PPTChartElement
|
elementInfo: PPTChartElement
|
||||||
|
target?: string
|
||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.base-element-chart {
|
.base-element-chart {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
|
&.is-thumbnail {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.rotate-wrapper {
|
.rotate-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user