update 优化 执行eslint:fix优化代码

This commit is contained in:
疯狂的狮子Li
2025-05-15 14:52:31 +08:00
parent 7b48bd44a2
commit 7f15f0e15a
39 changed files with 117 additions and 124 deletions

View File

@ -245,7 +245,7 @@ const getList = async () => {
// 租户套餐状态修改
const handleStatusChange = async (row: TenantVO) => {
let text = row.status === '0' ? '启用' : '停用';
const text = row.status === '0' ? '启用' : '停用';
try {
await proxy?.$modal.confirm('确认要"' + text + '""' + row.companyName + '"租户吗?');
await changeTenantStatus(row.id, row.tenantId, row.status);
@ -361,7 +361,7 @@ const handleExport = () => {
/**同步租户字典*/
const handleSyncTenantDict = async () => {
await proxy?.$modal.confirm('确认要同步所有租户字典吗?');
let res = await syncTenantDict();
const res = await syncTenantDict();
proxy?.$modal.msgSuccess(res.msg);
};