2018年6月29日

转自CSDN vue中post方式提交数据后台无法接收

摘要: 最近用vue做项目,遇到ajax提交值的问题。 用post方式提交,后台无法接收到值。百度了半天,各种解决方式都有,下载中间件之类的,都试了。 最后咨询大牛才知道是数据没有序列化的问题。 下面是源码: 因为我没有使用箭头函数,所以需要在外面重新定义this,这样不太好,因为有时忘了的话就很尴尬了。 阅读全文

posted @ 2018-06-29 11:00 Masahi 阅读(143) 评论(0) 推荐(0) 编辑

2018年3月26日

Homework3

摘要: b)把while循环中的循环判断条件改为while(numPrimes<3) c) t3=(n=1) d) 节点覆盖:{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14} 边覆盖: { (0,1) (1,2), (1,10), (2,3), (3,4 阅读全文

posted @ 2018-03-26 16:36 Masahi 阅读(110) 评论(0) 推荐(0) 编辑

2018年3月25日

Software Testing Lab 1 report

摘要: 下载jar包,在build path中导入jar包即可完成junit、hamcrest的安装 下载Eclemm安装包解压到eclipse的dropins文件夹中,重启eclipse即可发现安装成功 阅读全文

posted @ 2018-03-25 19:09 Masahi 阅读(100) 评论(0) 推荐(0) 编辑

2018年3月14日

homework2

摘要: Example 1 Fault:循环到x[1]就结束,x[0]未判断 Example 2 Fault: 程序会返回数组中的第一个0的index 阅读全文

posted @ 2018-03-14 19:30 Masahi 阅读(111) 评论(0) 推荐(0) 编辑

导航