Commit e76a6f814f15d1b095564f542b5f6ac03b4f7a9d

Authored by xingyu4j
1 parent d8be452f

fix

yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
... ... @@ -222,7 +222,7 @@ const filterFormSchema = (crudSchema: VxeCrudSchema): FormSchema[] => {
222 222  
223 223 eachTree(crudSchema.columns, (schemaItem: VxeCrudColumns) => {
224 224 // 判断是否显示
225   - if (schemaItem?.isForm !== false) {
  225 + if (schemaItem?.isForm !== false || schemaItem?.form?.show == true) {
226 226 // 默认为 input
227 227 let component = schemaItem?.form?.component || 'Input'
228 228 const options: ComponentOptions[] = []
... ...
yudao-ui-admin-vue3/src/views/Profile/components/UserSocial.vue
... ... @@ -46,13 +46,11 @@ const initSocial = async () => {
46 46 }
47 47 }
48 48 }
49   - console.info(socialUsers.value)
50 49 }
51 50 const bind = (row) => {
52 51 const redirectUri = location.origin + '/user/profile?type=' + row.type
53 52 // 进行跳转
54 53 socialAuthRedirect(row.type, encodeURIComponent(redirectUri)).then((res) => {
55   - console.log(res.url)
56 54 window.location.href = res.data
57 55 })
58 56 }
... ...