草庐IT

modelEntity

全部标签

c# - Url.Action 在我的 url 中放置了一个 &,我该如何解决这个问题?

我想将变量itemId和entityModel发送到ActionResultCreateNote:publicActionResultCreateNote([ModelBinder(typeof(Models.JsonModelBinder))]NoteModelModel,stringcmd,long?itemId,stringmodelEntity)使用这个javascript:Model.meta.PostAction=Url.Action("CreateNote",new{cmd="Save",itemId=itemId,modelEntity=modelEntity});但是

c# - Url.Action 在我的 url 中放置了一个 &,我该如何解决这个问题?

我想将变量itemId和entityModel发送到ActionResultCreateNote:publicActionResultCreateNote([ModelBinder(typeof(Models.JsonModelBinder))]NoteModelModel,stringcmd,long?itemId,stringmodelEntity)使用这个javascript:Model.meta.PostAction=Url.Action("CreateNote",new{cmd="Save",itemId=itemId,modelEntity=modelEntity});但是