Browse Source

术前讨论术前小结跳转问题

luolei 5 years ago
parent
commit
5fbf9777d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/js/qcScore.js

+ 1 - 1
src/js/qcScore.js

@@ -182,7 +182,7 @@ function formatInfoData(k,data){
     $("#appointBookTmpl").tmpl({title,data}).appendTo(".flaw-table");
     $(".page-anchor").on("click",function(){
       const code=$(this).attr("code");
-      const pCode=$(this).parents("tr").attr("code");
+      const pCode=$(this).parents("tr").attr("code").replace(/[^\u4e00-\u9fa5|a-zA-Z0-9]+/g,'');
       //菜单同步状态
       $(".sub-menu .page[code="+pCode+"]").parents(".list-1").click();
       $(".sub-menu .page[code="+pCode+"],.menu-mini .page[code="+pCode+"").click();