ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

预览图片的时候,顺序会颠倒

Open TShuo22 opened this issue 1 year ago • 2 comments
trafficstars

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

chrome 128.0.6613.120 vue3.2.33

Reproduction link

https://codesandbox.io/p/sandbox/vue-antd-template-forked-yvx4pj?file=%2Fsrc%2Fcomponents%2FHelloWorld.vue%3A18%2C22

Steps to reproduce

在tabs里面嵌入 ,里面放多张图片,切换tab,预览图片的时候,顺序会颠倒 <Tabs v-model:activeKey="activeKey"> <TabPane v-for="item in tabPaneList" :key="item.key" :tab="item.tab">

{{ dataInfo[`${activeKey}Info`] }}

What is expected?

顺序还是按照第一个开始

What is actually happening?

在tabs里面嵌入 ,里面放多张图片,切换tab,在切换回去后,预览图片的时候,顺序会颠倒

TShuo22 avatar Sep 10 '24 11:09 TShuo22