Update app.js

This commit is contained in:
jiajiu123
2021-09-03 18:06:57 +08:00
committed by GitHub
parent 6cb60663b6
commit 99d445638f

View File

@@ -167,7 +167,7 @@ class App{
} }
btnAdd.click(()=>{ btnAdd.click(()=>{
if(total() == this.#totalMax) { if(total() == this.#totalMax) {
this.hint('没可分配的点数了'); this.hint('没可分配的点数了');
return; return;
} }
set(get()+1); set(get()+1);
@@ -464,4 +464,4 @@ class App{
} }
export default App; export default App;