Commit 4be44472 by doszhang

dos

parent e436ea61
...@@ -77,7 +77,8 @@ let posterCanvas, posterCtx; ...@@ -77,7 +77,8 @@ let posterCanvas, posterCtx;
let scrollTimer, let scrollTimer,
showItemStatus = false, showItemStatus = false,
nowShowIndex = 1; nowShowIndex = 1,
createPosterLock = false;
const guardian = [ const guardian = [
'事事顺意守', '事事顺意守',
...@@ -170,8 +171,12 @@ function toPage3() { ...@@ -170,8 +171,12 @@ function toPage3() {
} }
function showResult(event) { function showResult(event) {
const resultFlag = /-(\d)\s/g.exec($(event.target).attr('class'))[1] if (!createPosterLock) {
createPoster(resultFlag) const resultFlag = /-(\d)\s/g.exec($(event.target).attr('class'))[1]
createPoster(resultFlag)
createPosterLock = true;
}
} }
function retry() { function retry() {
......
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