导出印花等所有信息
This commit is contained in:
@@ -364,14 +364,13 @@ const clickColor = () => {
|
||||
const fill = layerObject.value.fill;
|
||||
if (fill) {
|
||||
const obj = fillToPallet(fill);
|
||||
console.log("===========:", obj);
|
||||
palletPanel(obj).then((res) => {
|
||||
console.log("===========:", res);
|
||||
const cmd = new SetColorLayerFillCommand({
|
||||
canvas: canvasManager.canvas,
|
||||
layerManager: layerManager,
|
||||
object: layerObject.value,
|
||||
newFill: palletToFill(res),
|
||||
originColor: res,
|
||||
});
|
||||
layerManager.commandManager.execute(cmd);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user