|
|
|
@ -49,7 +49,7 @@ const userCoins = computed(() => {
@@ -49,7 +49,7 @@ const userCoins = computed(() => {
|
|
|
|
|
}) |
|
|
|
|
const needCoins = 2000000; |
|
|
|
|
const addNum = 8; |
|
|
|
|
const maxNum = 320; |
|
|
|
|
// const maxNum = 320; |
|
|
|
|
|
|
|
|
|
const itemNum = computed(() => { |
|
|
|
|
let i = 0; |
|
|
|
@ -91,10 +91,10 @@ mobile.onClick = (e, data) => {
@@ -91,10 +91,10 @@ mobile.onClick = (e, data) => {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const addGrid = (e) => { |
|
|
|
|
if (grid.value.length >= maxNum) { |
|
|
|
|
commit("set_sys_info", { msg: replace(t('addGrid.4'), [maxNum]), type: "warning", }); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
// if (grid.value.length >= maxNum) { |
|
|
|
|
// commit("set_sys_info", { msg: replace(t('addGrid.4'), [maxNum]), type: "warning", }); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
confirm.value.open(0, e) |
|
|
|
|
} |
|
|
|
|
const confirmAddGrid = () => { |
|
|
|
|