Commit 2223f6b7 by 宋祥

Merge branch 'dev-sx' of http://git.pseer.com:8800/platform/hg-smart into dev

parents 880678f7 6dc8f3c1
......@@ -98,9 +98,9 @@ function previewText(docId) {
// 使用new TextDecoder()指定编码
// let textDecoder;
// try {
// textDecoder = new TextDecoder('UTF-8', {ignoreBOM: true});
// } catch (e) {
// textDecoder = new TextDecoder('GBK', {ignoreBOM: true});
// } catch (e) {
// textDecoder = new TextDecoder('UTF-8', {ignoreBOM: true});
// }
// let dataDecoder = textDecoder.decode(data);
$("#textSpan").text(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment