Explorar o código

删除恢复功能bug修改

DESKTOP-QGP20P1\dev_2 hai 8 meses
pai
achega
ae0a975628
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/js/qcScore.js

+ 2 - 1
src/js/qcScore.js

@@ -516,7 +516,8 @@ $(function () {
       // const isSend = $(this).is(".send-flaw");
       const flawItem = $(this).closest(".flaw-item");
       const i = flawItem.index();
-      const code = flawItem.attr("code");
+      // const code = flawItem.attr("code");
+      const code = $(this).attr("code");
       const isEdit = $(this).is(".edit-flaw");
       const isSend = $(this).is(".send-flaw");
       console.log("global_activeTab:", global_activeTab);