Selaa lähdekoodia

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

MaiXinRong 2 vuotta sitten
vanhempi
commit
83edac7e5e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>`);
             // 动态投资