Merge pull request #31 from jiajiu123/master

修改错别字
This commit is contained in:
神戸小鳥
2021-09-03 21:38:48 +08:00
committed by GitHub

View File

@@ -166,8 +166,8 @@ class App{
freshTotal(); freshTotal();
} }
btnAdd.click(()=>{ btnAdd.click(()=>{
if(total() >= this.#totalMax) { if(total() == this.#totalMax) {
this.hint('没可分配的点数了'); this.hint('没可分配的点数了');
return; return;
} }
set(get()+1); set(get()+1);