liunan #10

Merged
liunan merged 47 commits from liunan into master 2024-09-13 14:43:34 +08:00
1 changed files with 9 additions and 7 deletions
Showing only changes of commit 29d5c8d26b - Show all commits

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(){