Parcourir la source

量表名称无法跳转问题

1178232204@qq.com il y a 3 ans
Parent
commit
f3b77ee75c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/js/cdss.js

+ 1 - 1
src/js/cdss.js

@@ -201,7 +201,7 @@ function moreInfo() {
     const type = $(this).parents(".pushItemBox").attr('data-type')
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&mrId=${encodeURIComponent(mrId)}`)
   })
-  $('.evaluationtitle .item-name').off("click").click(function () {
+  $('.evaluationtitle').off("click").click(function () {
     const name = $(this).parents(".pushItemBox").attr('data-name')
     const type = $(this).parents(".pushItemBox").attr('data-type')
     openNewWin(`staticInfo.html?type=${encodeURIComponent(type)}&position=0&name=${encodeURIComponent(name)}&page=1&mrId=${encodeURIComponent(mrId)}&gauge=gauge`)