摘要:
先看下面的代码: public static class StringExtension{ public staticvoid Foo(this string s) { Console.WriteLine("Foo invoked for {0}",s); }} 为什么这里会有一个this关键字,做 阅读全文
摘要:
使用ajax向后台发送数据时其中的图片数据的参数类型为file,属于对象,而不是一个字符串值。导致错误的出现 var formData = new FormData(); formData.append("file",$("#dcim1")[0].files[0]); formData.append 阅读全文