Vue报错记录

256 阅读1分钟
  1. 使用Element组件时报错:

Extraneous non-props attributes (ref_key) were passed to component but could not be automatically inherited because component renders fragment or text root nodes

原因:Vue版本与Element不兼容。

  1. el-collapse-transition套在el-scroll外面会导致滑条不可见。

Flex布局