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

Export as csv garbled #162

Open
wangfei0 opened this issue Dec 7, 2021 · 0 comments
Open

Export as csv garbled #162

wangfei0 opened this issue Dec 7, 2021 · 0 comments

Comments

@wangfei0
Copy link

wangfei0 commented Dec 7, 2021

When I exported to csv, garbled characters occurred. Specifying the encoding format through json_meta also does not work. what should I do?

json_meta: [
      [
        {
          key: "charset",
          value: "gb2312",
        },
      ],
    ],
            <download-excel
              :fetch="fetchData"
              :fields="json_fields"
              :meta="json_meta"
              worksheet="CorporateAircraftOrder"
              type="csv"
              :name="exportExcelName">
              <v-btn small color="primary" outlined>全部导出</v-btn>
            </download-excel>
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

1 participant