mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-02-04 23:03:12 +08:00
@@ -166,8 +166,8 @@ class App{
|
||||
freshTotal();
|
||||
}
|
||||
btnAdd.click(()=>{
|
||||
if(total() >= this.#totalMax) {
|
||||
this.hint('没用可分配的点数了');
|
||||
if(total() == this.#totalMax) {
|
||||
this.hint('没有可分配的点数了');
|
||||
return;
|
||||
}
|
||||
set(get()+1);
|
||||
@@ -467,4 +467,4 @@ class App{
|
||||
|
||||
}
|
||||
|
||||
export default App;
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user