mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-13 17:10:52 +08:00
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev
This commit is contained in:
@@ -53,11 +53,7 @@ const wrapperClass = computed(() => {
|
|||||||
|
|
||||||
provideFormRenderProps(props);
|
provideFormRenderProps(props);
|
||||||
|
|
||||||
const {
|
const { isCalculated, keepFormItemIndex, wrapperRef } = useExpandable(props);
|
||||||
isCalculated,
|
|
||||||
keepFormItemIndex,
|
|
||||||
wrapperRef: _wrapperRef,
|
|
||||||
} = useExpandable(props);
|
|
||||||
|
|
||||||
const shapes = computed(() => {
|
const shapes = computed(() => {
|
||||||
const resultShapes: FormShape[] = [];
|
const resultShapes: FormShape[] = [];
|
||||||
@@ -174,7 +170,7 @@ const computedSchema = computed(
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<component :is="formComponent" v-bind="formComponentProps">
|
<component :is="formComponent" v-bind="formComponentProps">
|
||||||
<div ref="_wrapperRef" :class="wrapperClass">
|
<div ref="wrapperRef" :class="wrapperClass">
|
||||||
<template v-for="cSchema in computedSchema" :key="cSchema.fieldName">
|
<template v-for="cSchema in computedSchema" :key="cSchema.fieldName">
|
||||||
<!-- <div v-if="$slots[cSchema.fieldName]" :class="cSchema.formItemClass">
|
<!-- <div v-if="$slots[cSchema.fieldName]" :class="cSchema.formItemClass">
|
||||||
<slot :definition="cSchema" :name="cSchema.fieldName"> </slot>
|
<slot :definition="cSchema" :name="cSchema.fieldName"> </slot>
|
||||||
|
|||||||
Reference in New Issue
Block a user