This commit is contained in:
ln1778 2024-09-12 14:18:17 +08:00
parent d14d425a29
commit 29d5c8d26b
1 changed files with 9 additions and 7 deletions

View File

@ -43,13 +43,11 @@
</ag-col> </ag-col>
</ag-row> </ag-row>
<div class="footerbox" v-if="$listeners.onSubmit"> <div class="footerbox" v-if="$listeners.onSubmit">
<el-form-item > <slot name="button" :value="formValue">
<slot name="button" :value="formValue"> <el-button @click="onSubmit" type="primary" size="small" class="submitbtn">
<el-button @click="onSubmit" type="primary" size="small" class="submitbtn"> {{submittitle||'提交'}}
提交 </el-button>
</el-button> </slot>
</slot>
</el-form-item>
</div> </div>
</el-form> </el-form>
</template> </template>
@ -83,6 +81,10 @@ export default{
agQuery agQuery
}, },
props:{ props:{
submittitle:{
type:String,
default:'提交'
},
data:{ data:{
type:Array, type:Array,
default(){ default(){