摘要: 后台代码 [HttpPost] public ActionResult UpLoad() { try { //获取前台传过来的文件 var file = Request.Files[0]; //将虚拟路径转换成物理路径 var imgDir = Server.MapPath("/Images/"); 阅读全文
posted @ 2021-08-19 20:21 姚睿的博客 阅读(159) 评论(0) 推荐(0)
摘要: 在Visual Studio里使用Vue 在 data(){}函数中 定义两个数组 用来接收数据 在 methods 方法里 //一级下拉数据获取 loadNClass() { axios.get('/default/LoadNClass?node=0') .then(res => { this.s 阅读全文
posted @ 2021-08-19 20:14 姚睿的博客 阅读(402) 评论(0) 推荐(0)