mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改闭合组件不规范的问题
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
v-for="colorItem in fetchShowColors(value.color)"
|
||||
:key="colorItem"
|
||||
:style="{ backgroundColor: colorItem }"
|
||||
/>
|
||||
></span>
|
||||
</div>
|
||||
<div
|
||||
class="theme-bottom"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
v-model:value="canvasConfig.width"
|
||||
:validator="validator"
|
||||
@update:value="changeSizeHandle"
|
||||
/>
|
||||
></n-input-number>
|
||||
</n-form-item>
|
||||
<n-form-item label="高度">
|
||||
<n-input-number
|
||||
@@ -16,7 +16,7 @@
|
||||
v-model:value="canvasConfig.height"
|
||||
:validator="validator"
|
||||
@update:value="changeSizeHandle"
|
||||
/>
|
||||
></n-input-number>
|
||||
</n-form-item>
|
||||
</n-form>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
:showPreview="true"
|
||||
:swatches="swatchesColors"
|
||||
v-model:value="canvasConfig.background"
|
||||
/>
|
||||
></n-color-picker>
|
||||
</n-space>
|
||||
<n-space>
|
||||
<n-text>使用颜色</n-text>
|
||||
@@ -63,7 +63,7 @@
|
||||
:round="false"
|
||||
:disabled="!canvasConfig.backgroundImage"
|
||||
:onUpdate="switchSelectColorHandle"
|
||||
/>
|
||||
></n-switch>
|
||||
</n-space>
|
||||
<n-space>
|
||||
<n-text>背景</n-text>
|
||||
|
||||
@@ -9,18 +9,18 @@
|
||||
placeholder="请输入图表名称"
|
||||
size="small"
|
||||
v-model:value="targetData.chartConfig.title"
|
||||
/>
|
||||
></n-input>
|
||||
</SettingItemBox>
|
||||
<!-- 尺寸 -->
|
||||
<SizeSetting :chartAttr="targetData.attr" />
|
||||
<SizeSetting :chartAttr="targetData.attr"></SizeSetting>
|
||||
<!-- 位置 -->
|
||||
<PositionSetting :chartAttr="targetData.attr" :canvasConfig="chartEditStore.getEditCanvasConfig"/>
|
||||
<!-- 样式 -->
|
||||
<StylesSetting :chartStyles="targetData.styles" />
|
||||
<StylesSetting :chartStyles="targetData.styles"></StylesSetting>
|
||||
<!-- 自定义配置项 -->
|
||||
<component :is="targetData.chartConfig.conKey" :optionData="targetData.option"></component>
|
||||
<!-- 全局设置 -->
|
||||
<GlobalSetting :optionData="targetData.option" :in-chart="true" />
|
||||
<GlobalSetting :optionData="targetData.option" :in-chart="true"></GlobalSetting>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user