diff --git a/src/components/ChartItemSetting/NameSetting.vue b/src/components/ChartItemSetting/NameSetting.vue
new file mode 100644
index 00000000..6194728e
--- /dev/null
+++ b/src/components/ChartItemSetting/NameSetting.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
diff --git a/src/components/ChartItemSetting/PositionSetting.vue b/src/components/ChartItemSetting/PositionSetting.vue
index 467157db..f639bfdb 100644
--- a/src/components/ChartItemSetting/PositionSetting.vue
+++ b/src/components/ChartItemSetting/PositionSetting.vue
@@ -92,9 +92,7 @@ const props = defineProps({
required: true
},
chartAttr: {
- type: Object as PropType<
- Omit, 'node' | 'conNode'>
- >,
+ type: Object as PropType>,
required: true
}
})
diff --git a/src/components/ChartItemSetting/index.ts b/src/components/ChartItemSetting/index.ts
index e0a722cc..e8c7ad66 100644
--- a/src/components/ChartItemSetting/index.ts
+++ b/src/components/ChartItemSetting/index.ts
@@ -5,6 +5,8 @@ import CollapseItem from './CollapseItem.vue'
// 全局配置属性
import GlobalSetting from './GlobalSetting.vue'
+// 名称
+import NameSetting from './NameSetting.vue'
// 方向
import PositionSetting from './PositionSetting.vue'
// 尺寸
@@ -12,4 +14,4 @@ import SizeSetting from './SizeSetting.vue'
// 样式
import StylesSetting from './StylesSetting.vue'
-export { CollapseItem, SettingItemBox, SettingItem, GlobalSetting, PositionSetting, SizeSetting, StylesSetting }
+export { CollapseItem, SettingItemBox, SettingItem, GlobalSetting, NameSetting, PositionSetting, SizeSetting, StylesSetting }
diff --git a/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue b/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue
index eeb264e5..b34f8b06 100644
--- a/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue
+++ b/src/views/chart/ContentConfigurations/components/CanvasPage/index.vue
@@ -8,7 +8,7 @@
v-model:value="canvasConfig.width"
:validator="validator"
@update:value="changeSizeHandle"
- >
+ >
+ >
@@ -52,7 +52,7 @@
:showPreview="true"
:swatches="swatchesColors"
v-model:value="canvasConfig.background"
- >
+ >
使用颜色
@@ -63,24 +63,12 @@
:round="false"
:disabled="!canvasConfig.backgroundImage"
:onUpdate="switchSelectColorHandle"
- >
+ >
背景
-
- 清除背景图
-
-
- 清除颜色
-
+ 清除背景图
+ 清除颜色
@@ -110,6 +98,7 @@