Sign in
简柏林
/
thingskit-front
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
e615773af569d4137e25c9e08a91463bc78400c6
Authored by
ww
2023-09-25 16:18:46 +0800
1 parent
3a45419b
perf: 优化CSV编码格式为GB2312格式
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/device/list/cpns/modal/BatchImportModal/ImportCsv.vue
src/views/device/list/cpns/modal/BatchImportModal/ImportCsv.vue
View file @
e615773
...
...
@@ -80,7 +80,7 @@
80
80
fileReader.onerror = () => {
81
81
reject(false);
82
82
};
83
-
fileReader.readAsText(file);
83
+
fileReader.readAsText(file
, 'GB2312'
);
84
84
});
85
85
};
86
86
...
...