abp 基于api接口的页面内容提交
摘要:
项目中,后端api接口需要接收来自页面提交的数据。注意下拉控件对应值,应该按以下方式赋值 需要与接收的 IsFolder 的类型 bool 相对应。 不能写成 new SelectListItem{ Text ="是", Value=1, Selected = true } 否则报错如下: 阅读全文
posted @ 2017-12-19 16:53 儿时精神 阅读(610) 评论(0) 推荐(0)
posted @ 2017-12-19 16:53 儿时精神 阅读(610) 评论(0) 推荐(0)