update: The code structure is finished, and the project can run successfully
This commit is contained in:
@@ -119,7 +119,7 @@ export default {
|
||||
fileMd5: this.fileMd5
|
||||
}
|
||||
const res = await breakpointContinueFinish(params)
|
||||
if (res.success) {
|
||||
if (res.code == 0) {
|
||||
// 合成文件过后 删除缓存切片
|
||||
const params = {
|
||||
fileName: this.file.name,
|
||||
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
async updateCustomer(row){
|
||||
const res = await getExaCustomer(row)
|
||||
this.type = "update"
|
||||
if(res.success){
|
||||
if(res.code == 0){
|
||||
this.form = res.data.customer
|
||||
this.dialogFormVisible = true
|
||||
}
|
||||
@@ -127,7 +127,7 @@ export default {
|
||||
async deleteCustomer(row){
|
||||
this.visible = false
|
||||
const res = await deleteExaCustomer(row)
|
||||
if (res.success){
|
||||
if (res.code == 0){
|
||||
this.getTableData()
|
||||
}
|
||||
},
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
|
||||
}
|
||||
|
||||
if(res.success){
|
||||
if(res.code == 0){
|
||||
this.dialogFormVisible = false
|
||||
this.getTableData()
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
})
|
||||
.then(async () => {
|
||||
const res = await deleteFile(row)
|
||||
if (res.success) {
|
||||
if (res.code == 0) {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '删除成功!'
|
||||
@@ -143,7 +143,7 @@ export default {
|
||||
type: 'success',
|
||||
message: '上传成功'
|
||||
})
|
||||
if (res.success) {
|
||||
if (res.code == 0) {
|
||||
this.getTableData()
|
||||
}
|
||||
this.fullscreenLoading = false
|
||||
|
||||
Reference in New Issue
Block a user