var canvas = document.createElement('canvas'), canvasContext = canvas.getContext('2d');
canvas.width = image.width;
canvas.height = image.height;
canvas.id = ;
canvasContext.drawImage(image, 0, 0);
container.append(canvas);
我怎样才能给我所有生成的画布的唯一 ID
var canvas = document.createElement('canvas'), canvasContext = canvas.getContext('2d');
canvas.width = image.width;
canvas.height = image.height;
canvas.id = ;
canvasContext.drawImage(image, 0, 0);
container.append(canvas);
我怎样才能给我所有生成的画布的唯一 ID