全新UI视觉体验,移动端API优化降低重复调用,提高并发6倍,修复N多Bug
This commit is contained in:
@@ -34,8 +34,6 @@ export function checkPhone(phone) {
|
||||
export const Debounce = (fn, t) => {
|
||||
const delay = t || 500
|
||||
let timer
|
||||
console.log(fn)
|
||||
console.log(typeof fn)
|
||||
return function() {
|
||||
const args = arguments
|
||||
if (timer) {
|
||||
@@ -49,4 +47,3 @@ export const Debounce = (fn, t) => {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user