浏览代码

旧变更特殊符号

laiguoran 4 年之前
父节点
当前提交
de46942887
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/view/change/info.ejs

+ 2 - 2
app/view/change/info.ejs

@@ -782,8 +782,8 @@
 <script>
 <script>
     const changeUnits = JSON.parse('<%- JSON.stringify(changeUnits) %>');
     const changeUnits = JSON.parse('<%- JSON.stringify(changeUnits) %>');
     const precision = JSON.parse('<%- JSON.stringify(precision) %>');
     const precision = JSON.parse('<%- JSON.stringify(precision) %>');
-    const accountGroup = JSON.parse('<%- JSON.stringify(accountGroup) %>');
-    const accountList = JSON.parse('<%- JSON.stringify(accountList) %>');
+    const accountGroup = JSON.parse(unescape('<%- escape(JSON.stringify(accountGroup)) %>'));
+    const accountList = JSON.parse(unescape('<%- escape(JSON.stringify(accountList)) %>'));
     const shenpi_status = <%- ctx.tender.info.shenpi.change %>;
     const shenpi_status = <%- ctx.tender.info.shenpi.change %>;
     const shenpiConst =  JSON.parse('<%- JSON.stringify(shenpiConst) %>');
     const shenpiConst =  JSON.parse('<%- JSON.stringify(shenpiConst) %>');
     const changesUid =  <%- change.uid %>;
     const changesUid =  <%- change.uid %>;