amis icon indicating copy to clipboard operation
amis copied to clipboard

amis升级6.6=>6.7版本后报错Renderer: `key` is not a prop. Trying to access it will result in `undefined` being returned.

Open h-gxi opened this issue 1 year ago • 6 comments

vue3中使用amis升级6.7版本后出现提示Renderer: key is not a prop. Trying to access it will result in undefined being returned. vue项目中用的veaury插件,react:16.14.0 企业微信截图_17249041184588

h-gxi avatar Aug 29 '24 05:08 h-gxi

react 也报这个错

FrancisKaneY avatar Sep 05 '24 07:09 FrancisKaneY

遇到了,一样的错误。实际上我切换了几个amis版本,都不行。只要我的代码里面用了wrapper/form,都会报错: 比如

const HelpPage = {
  type: 'page',
  body: [
    {
      type: 'wrapper',
      className: 'p-0',
      body: [
        
      ]
    }
  ]
};

如果只用page反而没这个错误,具体原因不明。

image

charles-zh avatar Sep 06 '24 07:09 charles-zh

+1,vue3+amis6.8.0+react17,同样遇到了这个错误

PopChicken avatar Sep 12 '24 08:09 PopChicken

me too

kai-oss-code avatar Oct 15 '24 19:10 kai-oss-code

组件中使用了props.key 然后传递给了子组件的key属性

funkyfun avatar Oct 18 '24 03:10 funkyfun

组件中使用了props.key 然后传递给了子组件的key属性

怎么发现的,问题怎么解决呢

kai-oss-code avatar Oct 18 '24 04:10 kai-oss-code