feat: unicode编码转换
This commit is contained in:
parent
93a67b9265
commit
dbd47f5a36
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue