feat: model file chunk
This commit is contained in:
@@ -64,11 +64,8 @@ const UpdateModal: React.FC<AddModalProps> = (props) => {
|
||||
});
|
||||
}
|
||||
if (action === PageAction.EDIT && open) {
|
||||
const list = _.split(props.data?.ollama_library_model_name, ':');
|
||||
form.setFieldsValue({
|
||||
...props.data,
|
||||
ollama_library_model_name: _.get(list, '0'),
|
||||
tag: _.get(list, '1')
|
||||
...props.data
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user