watch: {
tableActive: {
handler: debounce(function (newVal) {
this.$nextTick(() => {
this.$refs.mainTable?.doLayout();
});
}, 500),
deep: true,
},
el-table添加doLayout导致table的输入框焦点失焦问题
最新推荐文章于 2024-04-28 15:34:18 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)