-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
返回类型错误return View(shipAddress);
razor接收的是AddressCreationModel
我建议在if后面添加
AddressCreationModel acm = new AddressCreationModel();
acm.ShipAddress = shipAddress;
acm.Provinces.Add(new SelectListItem
{
Text = shipAddress.Province, Value = Request.Form["dpProvince"].ToString()
});
acm.ProvinceListName = "Province";
acm.Cities = new List<SelectListItem>();
acm.CityListName = "City";
返回
return View(acm);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels