Skip to content

Commit 579c1f5

Browse files
author
pixel
committed
上移 下载美化
1 parent 249b4a0 commit 579c1f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/src/view/systemTools/autoCode/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@
3232
</el-table-column>
3333
<el-table-column label="操作" width="250">
3434
<template slot-scope="scope">
35-
<el-button type="primary" @click="editAndAddField(scope.row)">编辑</el-button>
36-
<el-button type="success" :disabled="scope.$index == 0" @click="moveUpField(scope.$index)">上移</el-button>
37-
<el-button type="warning" :disabled="(scope.$index + 1) == form.fields.length" @click="moveDownField(scope.$index)">下移</el-button>
35+
<el-button size="mini" type="text" @click="editAndAddField(scope.row)">编辑</el-button>
36+
<el-button size="mini" type="text" :disabled="scope.$index == 0" @click="moveUpField(scope.$index)">上移</el-button>
37+
<el-button size="mini" type="text" :disabled="(scope.$index + 1) == form.fields.length" @click="moveDownField(scope.$index)">下移</el-button>
3838
<el-popover placement="top" v-model="scope.row.visible">
3939
<p>确定删除吗?</p>
4040
<div style="text-align: right; margin: 0">
4141
<el-button size="mini" type="text" @click="scope.row.visible = false">取消</el-button>
4242
<el-button type="primary" size="mini" @click="deleteField(scope.$index)">确定</el-button>
4343
</div>
44-
<el-button type="danger" slot="reference">删除</el-button>
44+
<el-button size="mini" type="text" slot="reference">删除</el-button>
4545
</el-popover>
4646
</template>
4747
</el-table-column>

0 commit comments

Comments
 (0)