📅  最后修改于: 2022-03-11 14:58:48.751000             🧑  作者: Mango
HTML----------------------------------
{{currentNumber}}
TS--------------------------------
private currentNumber = 0;
constructor () { }
private increment () {
this.currentNumber++;
}
private decrement () {
this.currentNumber--;
}