v3.5.0 修复关闭confirm提示框控制台报错问题

This commit is contained in:
YunaiV 2022-02-15 21:51:24 +08:00
parent c06a96b768
commit e3c31c353a
36 changed files with 55 additions and 57 deletions

View File

@ -373,7 +373,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -400,7 +400,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '${table.classComment}.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -104,7 +104,7 @@ export default {
this.$store.dispatch('LogOut').then(() => {
location.href = '/index';
})
})
}).catch(() => {});
}
}
}

View File

@ -72,7 +72,7 @@ service.interceptors.response.use(res => {
// }
location.href = '/index';
})
})
}).catch(() => {});
} else if (code === 500) {
Message({
message: msg,

View File

@ -159,7 +159,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
}
}
};

View File

@ -239,7 +239,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
getUserNickname(userId) {
for (const user of this.users) {

View File

@ -434,7 +434,7 @@ export default {
that.getList();
that.msgSuccess("删除成功");
})
})
}).catch(() => {});
},
/** 部署按钮操作 */
handleDeploy(row) {
@ -448,7 +448,7 @@ export default {
that.getList();
that.msgSuccess("部署成功");
})
})
}).catch(() => {});
},
/** 流程表单的详情按钮操作 */
handleFormDetail(row) {
@ -500,7 +500,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess(statusState + "成功");
})
}).catch(() => {});
},
/** 导入按钮操作 */
handleImport() {

View File

@ -212,7 +212,7 @@ export default {
}).then(response => {
this.downloadExcel(response, 'API 访问日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -214,7 +214,7 @@ export default {
this.msgSuccess("修改成功");
this.getList();
});
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -234,7 +234,7 @@ export default {
}).then(response => {
this.downloadExcel(response, 'API 错误日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -264,7 +264,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -282,7 +282,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '参数配置.xls');
this.exportLoading = false;
})
}).catch(() => {});
},
}
};

View File

@ -195,7 +195,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
}
};

View File

@ -229,7 +229,7 @@ export default {
return runJob(row.id);
}).then(() => {
this.msgSuccess("执行成功");
})
}).catch(() => {});
},
/** 任务详细信息 */
handleView(row) {
@ -303,7 +303,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 更新状态操作 */
handleChangeStatus(row, open) {
@ -319,7 +319,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess(statusStr + "成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -334,7 +334,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '定时任务.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -173,7 +173,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '定时任务日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -430,7 +430,7 @@ export default {
return exportAppExcel(params);
}).then(response => {
this.downloadExcel(response, '支付应用信息.xls');
})
}).catch(() => {});
},
/**
* 根据商户名称模糊匹配商户信息

View File

@ -273,7 +273,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -293,7 +293,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '支付商户信息.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -473,7 +473,7 @@ export default {
return exportOrderExcel(params);
}).then(response => {
this.downloadExcel(response, '支付订单.xls');
})
}).catch(() => {});
},
/**
* 根据商户名称模糊匹配商户信息

View File

@ -442,7 +442,7 @@ export default {
return exportRefundExcel(params);
}).then(response => {
this.downloadExcel(response, '退款订单.xls');
})
}).catch(() => {});
},
/**
* 根据商户名称模糊匹配商户信息

View File

@ -298,7 +298,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
}
}
};

View File

@ -259,7 +259,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -274,7 +274,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '字典数据.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -240,7 +240,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -260,7 +260,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '字典类型.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -233,7 +233,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -253,7 +253,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '错误码.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -137,7 +137,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '登录日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -320,7 +320,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
}
}
};

View File

@ -245,7 +245,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
}
}
};

View File

@ -224,7 +224,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '操作日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -231,7 +231,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -246,7 +246,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '岗位数据.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -496,7 +496,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -511,7 +511,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '角色数据.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -92,7 +92,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("强退成功");
})
}).catch(() => {});
}
}
};

View File

@ -242,7 +242,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
}
}
};

View File

@ -283,7 +283,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '短信日志.xls');
this.exportLoading = false;
})
}).catch(() => {});
},
/** 详细按钮操作 */
handleView(row) {

View File

@ -324,7 +324,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -344,7 +344,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '短信模板.xls');
this.exportLoading = false;
})
}).catch(() => {});
},
/** 发送短息按钮 */
handleSendSms(row) {

View File

@ -236,7 +236,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -256,7 +256,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '租户.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};

View File

@ -589,7 +589,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -607,7 +607,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '用户数据.xls');
this.exportLoading = false;
})
}).catch(() => {});
},
/** 导入按钮操作 */
handleImport() {

View File

@ -218,8 +218,7 @@ export default {
'提示',
{
type: 'warning'
}
)
}).catch(() => {});
return
}
if (astBody[0].type === 'ExportDefaultDeclaration') {

View File

@ -381,8 +381,7 @@ export default {
() => {
this.drawingList = []
this.idGlobal = 100
}
)
}).catch(() => {});
},
drawingItemCopy(item, list) {
let clone = deepClone(item)

View File

@ -213,7 +213,7 @@ export default {
return syncCodegenFromDB(row.id);
}).then(() => {
this.msgSuccess("同步成功");
})
}).catch(() => {});
},
/** 打开导入表弹窗 */
openImportTable() {
@ -335,7 +335,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
//
cancel() {

View File

@ -243,7 +243,7 @@ export default {
}).then(() => {
this.getList();
this.msgSuccess("删除成功");
})
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
@ -263,7 +263,7 @@ export default {
}).then(response => {
this.downloadExcel(response, '字典类型.xls');
this.exportLoading = false;
})
}).catch(() => {});
}
}
};