We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Software version (please complete the following information):
Describe the bug A clear and concise description of what the bug is.
Please use the CodeSandbox Template to demonstrate your bug. It is much easier for us to help you if you do.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
复现:
<GridLayout :layout="data"> <GridItem v-for="item in data" :x="item.x" :y="item.y" :w="item.w" :h="item.h" :i="item.i" :key="item.i" > <span :ref="setItemRef">{{ console.count() }} --</span> </GridItem > </GridLayout>
The text was updated successfully, but these errors were encountered:
我在重新渲染gird-item 后 resized(i) 形参i 传递的参数为累加后的结果(比如之前grid-item是两个 重新请求后gird-item重新生成为三个 这是使用 resized 方法 得到的参数 i ) 并没有重新按照grid-item的顺序从0开始 是什么原因
Sorry, something went wrong.
No branches or pull requests
Software version (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
Please use the CodeSandbox Template to demonstrate your bug. It is much easier for us to help you if you do.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
复现:
<script> // data.length > 1 function setItemRef(refer) { console.log(refer, "refer"); } </script>The text was updated successfully, but these errors were encountered: