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

额外的非道具属性(guid)已传递给组件,但由于组件呈现片段或文本根节点,因此无法自动继承。

原因:
1.由于跳转使用router.push params传参,同时该页面存在多个根结点,因此,需要保证使用params传参只有一个根结点


羽玉
10 声望0 粉丝