whj %!s(int64=4) %!d(string=hai) anos
pai
achega
f23be627ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/admin/project-user-roles/create.blade.php

+ 1 - 1
resources/views/admin/project-user-roles/create.blade.php

xqd
@@ -60,7 +60,7 @@
                     console.log(project_id)
                     let options = '';
                     if(project_id == 1){
-                        options = '<option value="6" selected>' +  roleList[5].name + '</option>'
+                        options = '<option value="6" selected>领导账号</option>'
                     } else {
                         for(let i = 0; i < roleList.length; ++i) {
                             options += '<option value=' + parseInt(roleList[i].id) + (parseInt(roleList[i].id) === parseInt(project_id) ? ' selected' : '') + '>' + roleList[i].name + '</option>'