chore: 流程干预 - 加签/减签

This commit is contained in:
dap
2024-12-18 13:50:05 +08:00
parent 239c0f60fb
commit 877fa1b2d1
2 changed files with 67 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ const [BasicModal, modalApi] = useVbenModal({
fullscreenButton: false,
onConfirm: handleSubmit,
async onOpened() {
const { userList } = modalApi.getData() as { userList: User[] };
const { userList = [] } = modalApi.getData() as { userList: User[] };
// 暂时只处理多选 目前并没有单选的情况
if (props.mode === 'multiple') {
// 左边选中