卖家
This commit is contained in:
@@ -391,8 +391,8 @@ export class PartManager {
|
||||
this.canvas.loading.value = true;
|
||||
});
|
||||
return new Promise((resolve, reject) => {
|
||||
// const user_id = store.state.UserHabit.userDetail.userId;
|
||||
const user_id = 24299;
|
||||
const user_id = store.state.UserHabit.userDetail.userId;
|
||||
// const user_id = 24299;
|
||||
const data = {
|
||||
image_path: this.props.clothingMinIOPath,
|
||||
user_id,
|
||||
|
||||
@@ -7,6 +7,7 @@ import { canvasConfig } from "../config/canvasConfig";
|
||||
export const createCanvas = (elementId, options = {}) => {
|
||||
// Create the canvas instance
|
||||
const canvas = new fabric.Canvas(elementId, {
|
||||
controlsAboveOverlay: true,// 控制面板在图层之上
|
||||
enableRetinaScaling: canvasConfig.enableRetinaScaling,
|
||||
renderOnAddRemove: false,
|
||||
preserveObjectStacking: true, // 保持对象堆叠顺序
|
||||
|
||||
Reference in New Issue
Block a user