Sfoglia il codice sorgente

项目管理,成员管理查重问题

MaiXinRong 2 anni fa
parent
commit
83edac7e5e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/public/js/sub_project.js

+ 1 - 1
app/public/js/sub_project.js

@@ -325,7 +325,7 @@ $(document).ready(function() {
     const generateMemberHtml = function () {
         const html = [];
         for (const mem of newMembers) {
-            html.push('<tr>');
+            html.push(`<tr uid="${mem.uid}">`);
             html.push(`<td>${mem.name}</td>`);
             html.push(`<td>${mem.role}</td>`);
             // 动态投资