diff --git a/src/store/main.ts b/src/store/main.ts
index 97cb9f68..fd59de01 100644
--- a/src/store/main.ts
+++ b/src/store/main.ts
@@ -26,7 +26,6 @@ export interface MainState {
isScaling: boolean;
richTextAttrs: TextAttrs;
selectedTableCells: string[];
- editingShapeElementId: string;
selectedSlidesIndex: number[];
}
@@ -50,7 +49,6 @@ export const useMainStore = defineStore('main', {
richTextAttrs: defaultRichTextAttrs, // 富文本状态
selectedTableCells: [], // 选中的表格单元格
isScaling: false, // 正在进行元素缩放
- editingShapeElementId: '', // 当前正处在编辑文字状态的形状ID
selectedSlidesIndex: [], // 当前被选中的页面索引集合
}),
@@ -145,10 +143,6 @@ export const useMainStore = defineStore('main', {
setScalingState(isScaling: boolean) {
this.isScaling = isScaling
},
-
- setEditingShapeElementId(ellId: string) {
- this.editingShapeElementId = ellId
- },
updateSelectedSlidesIndex(selectedSlidesIndex: number[]) {
this.selectedSlidesIndex = selectedSlidesIndex
diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
index 6f5ad207..adaa4148 100644
--- a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
+++ b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
@@ -71,7 +71,7 @@
-
+