zs %!s(int64=2) %!d(string=hai) anos
pai
achega
d972755fae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/common/studio/info.vue

+ 1 - 1
src/components/common/studio/info.vue

@@ -78,7 +78,7 @@ let teamfields: Ref<any[]> = ref([
 
 // 查询
 const search = async (e) => {
-  let user = store.state.user;
+  let user = store.state.user as { role_type: String; _id: String };
   if (user && user.role_type != '1') {
     if (e.unit_phone && e.unit_phone.is_show == false) e.unit_phone.phone = '暂未公开';
     if (e.unit_email && e.unit_email.is_show == false) e.unit_email.email = '暂未公开';