moodboard改为删除任意元素就删掉布局的图片 画布新加icon 链接到用户指引 调整detial页面布局 pose上传图片bug

This commit is contained in:
X1627315083
2025-09-23 13:45:11 +08:00
parent 21f569a0ac
commit 29a68c2481
19 changed files with 74 additions and 36 deletions

View File

@@ -18,7 +18,7 @@ const emit = defineEmits([
"undo-redo-status-changed",
"trigger-library"
]);
const {t} = useI18n()
const {t,locale} = useI18n()
const props = defineProps({
activeTool: String,
minimapEnabled: {
@@ -166,6 +166,16 @@ const normalToolsList = ref([
icon: { name: "CFont", size: "20" },
class: "text-btn",
},
{
id: "help",
title: t("Canvas.help"),
action: () => openTutorial(),
icon: { name: "CHelp", size: "30" },
class: "text-btn",
style: {
'margin-top': 'auto',
},
},
]);
// 红绿图模式工具列表
@@ -244,6 +254,14 @@ function addText() {
emit("add-text");
}
function openTutorial() {
if(locale == 'ENGLISH'){
window.open('https://aida-user-manual.super.site/specific-scenarios/freely-sketching-in-canvas', '_blank');
}else{
window.open('https://aida-user-manual-chinese.super.site/%e4%bd%bf%e7%94%a8%e7%94%bb%e5%b8%83%e8%bf%9b%e8%a1%8c%e7%bc%96%e8%be%91 ', '_blank');
}
}
function undo() {
if (!canUndo.value) return;
undoFun();