我想问一下我在子组件的view里面用了wx:for,在父组件view里面再使用wx:for会冲突吗?

小程序 文章 2022-04-12 18:00 333 0 全屏看文

AI助手支持GPT4.0

我想问一下我在子组件的view里面用了wx:for,在父组件view里面再使用wx:for会冲突吗?I would like to ask if I use wx:for in the view of the child component, will it conflict if I use wx:for in the view of the parent component?

我想问一下我在子组件的view里面用了wx:for,在父组件view里面再使用wx:for会冲突吗?

子组件的view :wx:for

父组件的usingComponents

父组件的view wx:for



View of child component: Wx: for usingcomponents of parent component view of parent component: Wx: for

回答:

brave:

不会

拾忆:

不冲突

蜡笔小涂:

子组件用了wx:for,父组件再用wx:for会冲突吗

-EOF-

AI助手支持GPT4.0