Explorar o código

fix(bugs): 修改公司名称

tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
cb2b2bae4f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/staff/detailsModal.vue

+ 1 - 1
src/views/staff/detailsModal.vue

@@ -230,7 +230,7 @@
           {
             field: 'companyId',
             componentProps: {
-              disabled: data.roleId === 6 ? true : false,
+              disabled: data.id ? (data.roleId != 2 ? true : false) : false,
             },
           },
         ];