pipipi-pikachu 5 년 전
부모
커밋
bac74ed55a
2개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 3
      src/views/_common/_element/TextElement/index.vue
  2. 0 3
      src/views/_common/_operate/AnimationIndex.vue

+ 2 - 3
src/views/_common/_element/TextElement/index.vue

@@ -73,12 +73,11 @@
 </template>
 
 <script lang="ts">
-import { computed, defineComponent, ref, PropType } from 'vue'
+import { computed, defineComponent, PropType } from 'vue'
 
 import { PPTTextElement } from '@/types/slides'
 import { ElementScaleHandler, OperateResizablePointTypes, OperateBorderLineTypes } from '@/types/edit'
 
-import { CLIPPATHS, ClipPathTypes } from '@/configs/imageClip'
 import { OPERATE_KEYS } from '@/configs/element'
 
 import ElementBorder from '@/views/_common/_element/ElementBorder.vue'
@@ -211,7 +210,7 @@ export default defineComponent({
   }
 }
 
-::v-deep .text-content {
+::v-deep(.text-content) {
   word-break: break-word;
   font-family: '微软雅黑';
   outline: 0;

+ 0 - 3
src/views/_common/_operate/AnimationIndex.vue

@@ -5,9 +5,6 @@
 </template>
 
 <script lang="ts">
-import { PropType } from 'vue'
-import { PPTAnimation } from '@/types/slides'
-
 export default {
   name: 'animation-index',
   props: {