环境:vue3中使用elementplus
问题:el-table表格,数据更新之后,视图不更新,就很郁闷
我可是用的官网的例子啊o(╥﹏╥)o
代码块
<el-table :data="filterTableData" style="width: 100%" stripe>
<el-table-column type="index" :index=
在Vue3环境中,使用ElementUI的el-table组件时遇到问题:数据更新后视图未随之更新。尽管参照了官网例子,问题依然存在。通过将`ref`替换为`ref`并在更新数据后使用`nextTick`调用`update()`方法,成功解决了视图不刷新的问题。
环境:vue3中使用elementplus
问题:el-table表格,数据更新之后,视图不更新,就很郁闷
我可是用的官网的例子啊o(╥﹏╥)o
代码块
<el-table :data="filterTableData" style="width: 100%" stripe>
<el-table-column type="index" :index=
2332
3029

被折叠的 条评论
为什么被折叠?