状态修改

This commit is contained in:
仲么了
2024-01-26 09:08:20 +08:00
parent 35f8cced00
commit f12af238f4
4 changed files with 47 additions and 32 deletions

View File

@@ -98,12 +98,7 @@ const tableStore = new TableStore({
}
]
}
],
loadCallback: () => {
tableStore.table.data.forEach((item: any) => {
item.statusName = item.status === 0 ? '正常' : item.status === 1 ? '停用' : '删除'
})
}
]
})
provide('tableStore', tableStore)