mirror of
https://github.com/Binaryify/vue-tetris.git
synced 2026-01-21 05:57:57 +08:00
去掉多余 log
This commit is contained in:
@@ -85,7 +85,7 @@ const states = {
|
||||
let matrix = fromJS(state.matrix)
|
||||
const shape = cur && cur.shape
|
||||
const xy = fromJS(cur && cur.xy)
|
||||
console.log({ matrix, shape, xy })
|
||||
// console.log({ matrix, shape, xy })
|
||||
shape.forEach((m, k1) =>
|
||||
m.forEach((n, k2) => {
|
||||
if (n && xy.get(0) + k1 >= 0) {
|
||||
|
||||
@@ -35,7 +35,7 @@ const down = store => {
|
||||
let matrix = fromJS(state.matrix)
|
||||
const shape = cur.shape
|
||||
const xy = fromJS(cur.xy)
|
||||
console.log({ matrix, shape, xy })
|
||||
// console.log({ matrix, shape, xy })
|
||||
shape.forEach((m, k1) =>
|
||||
m.forEach((n, k2) => {
|
||||
if (n && xy.get(0) + k1 >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user