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
3.2.20
vue3
https://raw.githubusercontent.com/zyufstudio/antd3-test/master/index.html
运行页面后,bodyCell插槽自定义单元格无效
bodyCell插槽可以正常自定义单元格
bodyCell插槽无效
The text was updated successfully, but these errors were encountered:
这是 Vue 在 DOM 内嵌模板中的语法限制,暂时可以用动态插槽来解决。
<template #[body_cell]="{column, text }"> <template v-if="column.dataIndex === 'name'"> <a>name {{ text }}</a> </template> </template> setup(){ return { body_cell: 'bodyCell' } }
Sorry, something went wrong.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
No branches or pull requests
Version
3.2.20
Environment
vue3
Reproduction link
https://raw.githubusercontent.com/zyufstudio/antd3-test/master/index.html
Steps to reproduce
<title>Document</title> <script src="https://cdn.jsdelivr.net/npm/vue@3.4.21/dist/vue.global.prod.js"></script> <script src="https://unpkg.com/dayjs/dayjs.min.js"></script> <script src="https://unpkg.com/dayjs/plugin/customParseFormat.js"></script> <script src="https://unpkg.com/dayjs/plugin/weekday.js"></script> <script src="https://unpkg.com/dayjs/plugin/localeData.js"></script> <script src="https://unpkg.com/dayjs/plugin/weekOfYear.js"></script> <script src="https://unpkg.com/dayjs/plugin/weekYear.js"></script> <script src="https://unpkg.com/dayjs/plugin/advancedFormat.js"></script> <script src="https://unpkg.com/dayjs/plugin/quarterOfYear.js"></script> <script src="https://unpkg.com/ant-design-vue@3.2.20/dist/antd.min.js"></script>运行页面后,bodyCell插槽自定义单元格无效
What is expected?
bodyCell插槽可以正常自定义单元格
What is actually happening?
bodyCell插槽无效
The text was updated successfully, but these errors were encountered: