// // YMEditProfileInfoCellViewModel.m // MSYOUPAI // // Created by YoMi on 2024/2/18. // Copyright © 2024 MS. All rights reserved. // #import "YMEditProfileInfoCellViewModel.h" @interface YMEditProfileInfoCellViewModel () /// 编辑资料类型 @property (nonatomic, assign, readwrite) YMEditProfileType editProfileType; @end @implementation YMEditProfileInfoCellViewModel - (void)ym_initialize{ [super ym_initialize]; NSDictionary *dic = [self.params dictionaryValueForKey:ParamsModel defaultValue:@{}]; self.infoTitle = [dic stringValueForKey:@"title" defaultValue:@""]; self.infoContent = [dic stringValueForKey:@"content" defaultValue:@""]; self.editProfileType = [dic integerValueForKey:ParamsCategoryType defaultValue:YMEditProfileTypeNickname]; } @end