Commit 214e5270 by doszhang

dos

parent f1f33609
...@@ -157,6 +157,7 @@ function createPoster(name, business) { ...@@ -157,6 +157,7 @@ function createPoster(name, business) {
let oldPosterIndex = nowPosterIndex; let oldPosterIndex = nowPosterIndex;
nowPosterIndex = RandomNumBoth(1, 3, oldPosterIndex); nowPosterIndex = RandomNumBoth(1, 3, oldPosterIndex);
console.log('nowPosterIndex:', nowPosterIndex); console.log('nowPosterIndex:', nowPosterIndex);
$('.poster-canvas').html('');
let canvasinfo = initCanvas('.poster-canvas', 'posterCanvas', 425 * 2, 820 * 2); let canvasinfo = initCanvas('.poster-canvas', 'posterCanvas', 425 * 2, 820 * 2);
posterCanvas = canvasinfo[0]; posterCanvas = canvasinfo[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment