feat: unicode编码转换

This commit is contained in:
马琦钧 2021-08-08 13:27:37 +08:00
parent 93a67b9265
commit dbd47f5a36
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ export default {
}
if (this.projectType === '文本分类') {
get(`/v1/files/get_labels?projectName=${this.projectName}`, (text) => {
saveAsFile(text, 'labels.json')
saveAsFile(JSON.stringify(JSON.parse(text)), 'labels.json')
}, {isDirect: true})
}
return true