新增画布是否可以修改背景

This commit is contained in:
李志鹏
2025-11-13 16:53:45 +08:00
parent e806e0da73
commit 08f4f9bd89
3 changed files with 8 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ const props = defineProps({
type: Boolean,
default: true, // 是否显示图层面板
},
isBackgroundChangeable: Boolean,
});
const emit = defineEmits([
@@ -312,7 +313,7 @@ onMounted(() => {
"
/>
</div>
<div class="setting-group">
<div class="setting-group" v-if="isBackgroundChangeable">
<span class="setting-label">{{ $t("Canvas.color") }}</span>
<div class="color-picker-wrapper">
<input