mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-17 15:05:32 +00:00
代码规范性调整
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<el-table-column align="center" label="按钮组" min-width="160">
|
||||
<template #default="scope">
|
||||
<el-button size="small" type="text" icon="el-icon-edit" @click="updateCustomer(scope.row)">变更</el-button>
|
||||
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
|
||||
<el-popover :visible="scope.row.visible" placement="top" width="160">
|
||||
<p>确定要删除吗?</p>
|
||||
<div style="text-align: right; margin-top: 8px;">
|
||||
<el-button size="mini" type="text" @click="scope.row.visible = false">取消</el-button>
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
if (res.code === 0) {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: ''
|
||||
message: '删除成功'
|
||||
})
|
||||
if (this.tableData.length === 1 && this.page > 1) {
|
||||
this.page--
|
||||
|
||||
Reference in New Issue
Block a user