|
@@ -36,7 +36,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="getColumn">使用此表创建</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="getColumn">使用此表创建</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-collapse-item>
|
|
@@ -69,7 +69,7 @@
|
|
|
</el-form>
|
|
|
<!-- 组件列表 -->
|
|
|
<div class="button-box clearflex">
|
|
|
- <el-button type="primary" @click="editAndAddField()">新增Field</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="editAndAddField()">新增Field</el-button>
|
|
|
</div>
|
|
|
<el-table :data="form.fields" border stripe>
|
|
|
<el-table-column type="index" label="序列" width="100" />
|
|
@@ -117,15 +117,15 @@
|
|
|
<el-tag type="danger">id , created_at , updated_at , deleted_at 会自动生成请勿重复创建</el-tag>
|
|
|
<!-- 组件列表 -->
|
|
|
<div class="button-box clearflex">
|
|
|
- <el-button type="primary" @click="enterForm(true)">预览代码</el-button>
|
|
|
- <el-button type="primary" @click="enterForm(false)">生成代码</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="enterForm(true)">预览代码</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="enterForm(false)">生成代码</el-button>
|
|
|
</div>
|
|
|
<!-- 组件弹窗 -->
|
|
|
<el-dialog title="组件内容" :visible.sync="dialogFlag">
|
|
|
<FieldDialog v-if="dialogFlag" ref="fieldDialog" :dialog-middle="dialogMiddle" />
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="closeDialog">取 消</el-button>
|
|
|
- <el-button type="primary" @click="enterDialog">确 定</el-button>
|
|
|
+ <el-button size="mini" @click="closeDialog">取 消</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="enterDialog">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|