前端性能行以及样式细节调整

This commit is contained in:
蒋吉兆
2021-09-21 17:40:28 +08:00
parent 54e3e5cb90
commit 51e26a00a4
9 changed files with 21 additions and 22 deletions

View File

@@ -33,7 +33,7 @@
<el-button size="mini" type="primary" icon="el-icon-plus" @click="openDialog('addApi')">新增</el-button>
<el-popover v-model:visible="deleteVisible" placement="top" width="160">
<p>确定要删除吗</p>
<div style="text-align: right; margin: 0">
<div style="text-align: right; margin-top: 8px;">
<el-button size="mini" type="text" @click="deleteVisible = false">取消</el-button>
<el-button size="mini" type="primary" @click="onDelete">确定</el-button>
</div>
@@ -294,12 +294,6 @@ export default {
this.getTableData()
}
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消删除'
})
})
},
async enterDialog() {
this.$refs.apiForm.validate(async valid => {