diff --git a/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts b/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts index b6bdfb677..394b998f2 100644 --- a/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts +++ b/yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts @@ -222,7 +222,7 @@ const filterFormSchema = (crudSchema: VxeCrudSchema): FormSchema[] => { eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => { // 判断是否显示 - if (schemaItem?.isForm !== false) { + if (schemaItem?.isForm !== false || schemaItem?.form?.show == true) { // 默认为 input let component = schemaItem?.form?.component || 'Input' const options: ComponentOptions[] = [] diff --git a/yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue b/yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue index 610fe860c..ada32d5ad 100644 --- a/yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue +++ b/yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue @@ -46,13 +46,11 @@ const initSocial = async () => { } } } - console.info(socialUsers.value) } const bind = (row) => { const redirectUri = location.origin + '/user/profile?type=' + row.type // 进行跳转 socialAuthRedirect(row.type, encodeURIComponent(redirectUri)).then((res) => { - console.log(res.url) window.location.href = res.data }) }