Explorar o código

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

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
83edac7e5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>`);
             // 动态投资