|
@@ -83,6 +83,9 @@ watch(
|
|
|
"
|
|
|
:style="queryFormStyle"
|
|
|
>
|
|
|
+ <!-- 重置按钮前 -->
|
|
|
+ <slot name="reset-before"></slot>
|
|
|
+
|
|
|
<component
|
|
|
:is="COMPONENT_MAP.DefaultButton"
|
|
|
v-if="resetButtonOptions.show"
|
|
@@ -94,6 +97,9 @@ watch(
|
|
|
{{ resetButtonOptions.content }}
|
|
|
</component>
|
|
|
|
|
|
+ <!-- 提交按钮前 -->
|
|
|
+ <slot name="submit-before"></slot>
|
|
|
+
|
|
|
<component
|
|
|
:is="COMPONENT_MAP.PrimaryButton"
|
|
|
v-if="submitButtonOptions.show"
|
|
@@ -104,6 +110,9 @@ watch(
|
|
|
{{ submitButtonOptions.content }}
|
|
|
</component>
|
|
|
|
|
|
+ <!-- 展开按钮前 -->
|
|
|
+ <slot name="expand-before"></slot>
|
|
|
+
|
|
|
<VbenExpandableArrow
|
|
|
v-if="rootProps.showCollapseButton"
|
|
|
v-model:model-value="collapsed"
|
|
@@ -111,5 +120,8 @@ watch(
|
|
|
>
|
|
|
<span>{{ collapsed ? $t('expand') : $t('collapse') }}</span>
|
|
|
</VbenExpandableArrow>
|
|
|
+
|
|
|
+ <!-- 展开按钮后 -->
|
|
|
+ <slot name="expand-after"></slot>
|
|
|
</div>
|
|
|
</template>
|