ice icon indicating copy to clipboard operation
ice copied to clipboard

使用KeepAliveOutlet, 不加key会报错,加了缓存又失效

Open yyyyffqqqq opened this issue 1 year ago • 1 comments

Describe the bug

报错信息:react-dom.development.js:86 Warning: Encountered two children with the same key, default. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

Expected behavior

无报错信息

Actual behavior

No response

Version of ice.js

"@ice/app": "3.4.12"

Content of build.json or ice.config.mts

No response

Additional context

No response

yyyyffqqqq avatar Oct 25 '24 12:10 yyyyffqqqq

提供下复现 demo

ClarkXia avatar Oct 28 '24 06:10 ClarkXia