![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Javascript
文章平均质量分 52
流云细水
这个作者很懒,什么都没留下…
展开
-
请求后端出现“Content type ‘application/octet-stream‘not supported“错误解决方案
主要的解决思路是,要指定上传文件时其他附加信息的 contentType,那么去FormData对象如何指定某个参数的 contentType属性。Vue应该怎么传递呢?使用 FormData 对象。此报错是Springboot 报错。看看Postman 正确的传递方式。原创 2023-05-05 10:23:54 · 7771 阅读 · 0 评论 -
Vue:父子组件传值( props、sync、v-model )
Vue 父子组件传值原创 2023-02-02 10:44:33 · 2129 阅读 · 0 评论 -
柯里化概念与应用
//柯里化实现页面局部刷新2014/3/8 //update会返回一个函数,这个函数可以设置id属性为item的web元素的内容 function update(item){ return function(text){ $("div#"+item).html(text); }转载 2014-03-08 10:16:07 · 765 阅读 · 0 评论 -
Javascript对象的创建
<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">Javascript创建对象,常用的</span>1、工厂模式function createPerson(name, age, job){ var o =...原创 2015-01-09 17:17:01 · 356 阅读 · 0 评论