fix: replace ant-design-vue with tdesign components in web-tdesign app (#6880)
* Initial plan * fix: replace ant-design-vue with tdesign components Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com> * fix: remove trailing comma in package.json Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { h } from 'vue';
|
||||
|
||||
import { setupVbenVxeTable, useVbenVxeGrid } from '@vben/plugins/vxe-table';
|
||||
|
||||
import { Button, Image } from 'ant-design-vue';
|
||||
import { Button, Image } from 'tdesign-vue-next';
|
||||
|
||||
import { useVbenForm } from './form';
|
||||
|
||||
@@ -52,7 +52,7 @@ setupVbenVxeTable({
|
||||
const { props } = renderOpts;
|
||||
return h(
|
||||
Button,
|
||||
{ size: 'small', type: 'link' },
|
||||
{ size: 'small', theme: 'primary', variant: 'text' },
|
||||
{ default: () => props?.text },
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user