使用内置的 forceUpdate 方法: 较好的方式( Vue2.x 使用较多); Vue3 中使用 provide / inject 传值的方式; 利用 key 值的变化触发组件更新: 最佳方式.
確定! 回上一頁