zs 2 年之前
父节点
当前提交
d972755fae
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 = '暂未公开';