This commit is contained in:
李志鹏
2026-01-06 16:53:18 +08:00
parent 6cb1e72798
commit e40b707501
3 changed files with 17 additions and 13 deletions

View File

@@ -102,10 +102,10 @@ const exportColorLayer = async () => {
};
// 导出所有信息
const exportAllInfo = async () => {
const exportExtraInfo = async () => {
if (canvasEditor.value) {
const allInfo = await canvasEditor.value.exportAllInfo();
console.log("==========导出所有信息:", allInfo);
const extraInfo = await canvasEditor.value.exportExtraInfo();
console.log("==========导出信息:", extraInfo);
}
};
@@ -213,10 +213,10 @@ const customToolsList = ref([
class: "export-btn",
},
{
id: "exportAllInfo",
title: "导出所有信息",
action: exportAllInfo,
label: "导All",
id: "exportExtraInfo",
title: "导出印花颜色等信息",
action: exportExtraInfo,
label: "导E",
class: "export-btn",
},
{