template div el-card class=crumbs-card div class=crumbs el-breadcrumb separator= el-breadcrumb-item to= path main 首页el-breadcrumb-item
The value of dialogFormVisible is always false because there is no code that updates its value to true. In the code provided, dialogFormVisible is only set to true in the openEdit method, which is called when the "编辑" button is clicked in the table.
To fix the issue, make sure that the "编辑" button is being clicked and the openEdit method is being called. You can also add some console.log statements to check if the method is being called and if the dialogFormVisible value is being updated correctly
原文地址: http://www.cveoy.top/t/topic/iirh 著作权归作者所有。请勿转载和采集!