状态修改
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user