feat: 完善用户权限

This commit is contained in:
xingyu
2022-08-01 19:03:27 +08:00
parent 72db9341f6
commit 85287e1f7f
8 changed files with 210 additions and 40 deletions

View File

@ -157,7 +157,7 @@ const count = (timestamp: number) => {
} else {
state.printVal = state.printVal > endVal ? endVal : state.printVal
}
state.displayValue = formatNumber(state.printVal)
state.displayValue = formatNumber(state.printVal!)
if (progress < (state.localDuration as number)) {
state.rAF = requestAnimationFrame(count)
} else {