代码规范性调整

This commit is contained in:
蒋吉兆
2021-09-21 17:55:18 +08:00
parent 51e26a00a4
commit 2c06ca34c0
19 changed files with 32 additions and 33 deletions
@@ -127,7 +127,7 @@ export default {
},
sliceFile() {
this.waitUpLoad &&
this.waitUpLoad.map(item => {
this.waitUpLoad.forEach(item => {
// 需要上传的切片
item.formData.append('chunkTotal', this.formDataList.length) // 切片总数携带给后台 总有用的
const fileR = new FileReader() // 功能同上
+2 -2
View File
@@ -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--