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

自定义字段以后貌似居中没有对齐了 #134

Closed
bihell opened this issue Dec 18, 2020 · 0 comments
Closed

自定义字段以后貌似居中没有对齐了 #134

bihell opened this issue Dec 18, 2020 · 0 comments

Comments

@bihell
Copy link

bihell commented Dec 18, 2020

效果如下

image

相关代码

    {
      title: '分类',
      dataIndex: 'category',
      width: 80,
      align: 'center',
      slots: { customRender: 'category' },
    },
    <template #category="{ record }">
      <Tag color="green">
        {{ record.category }}
      </Tag>
    </template>
anncwb added a commit that referenced this issue Dec 30, 2020
@anncwb anncwb closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants