Skip to content
New issue

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

修复AppendFormDemo #505

Merged
merged 1 commit into from
Apr 19, 2021
Merged

修复AppendFormDemo #505

merged 1 commit into from
Apr 19, 2021

Conversation

jinmao88
Copy link
Collaborator

修复AppendFormDemo

@anncwb anncwb merged commit 8c2491f into vbenjs:main Apr 19, 2021
@M69W
Copy link

M69W commented Apr 19, 2021

能否在这里检测动态变化的 n.value值(变量)?

<template #add="{ field }">
  <Button v-if="Number(field) === 0" @click="add">+</Button>
  <Button v-if="field > 0" @click="del(field)">-</Button>
</template>

这样相对能灵活地实现【+】、【-】符号显示
image

@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants