fix: the button can be clicked at intervals changed to 10s

This commit is contained in:
mio 2023-05-26 16:12:49 +08:00
parent 839b8fd54a
commit 9de5ba1025

@ -145,7 +145,7 @@ const uidSelectText = computed(() => {
const allowClick = () => {
const data = state.dataMap.get(state.current)
if (!data) return true
if (Date.now() - data.time < 1000 * 60) {
if (Date.now() - data.time < 1000 * 10) {
return false
}
return true