📅  最后修改于: 2022-03-11 15:04:26.340000             🧑  作者: Mango
//methods like 'push' wont trigger the {#if} to update
//you need to dummy assign the value:
function addNumber() {
numbers.push(numbers.length + 1);
numbers = numbers;
}