问题:active都是true,但是switch开关全部是off状态,点击切换时,通过change方法打印出的新状态都是true;并且控制台报错,switch开关不能切换为on状态图片上传不了。。。报错信息如下:[Vue warn]: Error in event handler for "input": "TypeError: Cannot read property 'value' of undefined" TypeError: Cannot read...
></el-switch> {data.label} ) } 问题:active都是true,但是switch开关全部是off状态,点击切换时,通过change方法打印出的新状态都是true;并且控制台报错,switch开关不能切换为on状态图片上传不了。。。报错信息如下:[Vue warn]: Error in event handler for "input": "TypeError: Cannot read property 'value...