problem description
when using the table component with type as extend, the toggleRowExpansion method is used. The first parameter row is passed, but the second parameter is not passed. Local startup can perform normal expansion and collapse operations, but when deployed to the production environment, an error will be reported
TypeError: Cannot create property "default" on boolean" true"
, and cannot be expanded and folded.
the environmental background of the problems and what methods you have tried
try using the expand-row-keys attribute, the same error is still reported online, but no error is reported locally.
currently thinks there may be a problem with code compression.
it was normal a few days ago, but there is a sudden exception today. The project will be online soon. It"s urgent.
related codes
this.$refs.listDataTable.toggleRowExpansion (row);