优化代码生成模板

This commit is contained in:
不做码农
2022-02-11 21:51:14 +08:00
parent 61038d01a0
commit c4003e5ca4
6 changed files with 91 additions and 39 deletions

View File

@@ -1,7 +1,8 @@
<template>
<div class="app-container">
<!-- :model属性用于表单验证使用 比如下面的el-form-item 的 prop属性用于对表单值进行验证操作 -->
<el-form :model="queryParams" size="small" label-position="right" inline ref="queryForm" :label-width="labelWidth" v-show="showSearch" @submit.native.prevent>
<el-form :model="queryParams" size="small" label-position="right" inline ref="queryForm" :label-width="labelWidth" v-show="showSearch"
@submit.native.prevent>
${vueQueryFormHtml}
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>