window.onload = function(){ alert("welcome"); } 语句的作用是希望在页面加载完,自动执行定义js代码(function)。 $(document).ready(function(){.... }) 这个函数是用来取代页面中的window.onload; ...
分类:
Web程序 时间:
2020-06-15 20:52:25
阅读次数:
86
如果不采用某种查询机制,则Repository将充斥着大量的检索方法。 public interface ICustomerRepository { IEnumerable<Customer> FindAll(); IEnumerable<Customer> FindAllVIPCustomers( ...
分类:
其他好文 时间:
2020-06-14 22:06:37
阅读次数:
68
一. 重新组织函数 1. Extract Method 提炼函数 2. Inline Method 内联函数 3. Inline Temp 内联临时变量 4. Replace Temp with Query 以查询取代临时变量 5. Introduce Explaining 引入解释性变量 6. S ...
分类:
其他好文 时间:
2020-06-14 18:22:43
阅读次数:
65
关注本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复206或者20160315可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me! 函数分为函数(function)和查询函数(query function),是不是有点儿绕口?函数的列表请参考SDK的 Web API ...
请求 对于DRF的request对象,有下面的属性: .data .query_params .parsers .accepted_renderer .accepted_media_type .user .auth .authenticators .method .content_type .str ...
分类:
其他好文 时间:
2020-06-14 13:07:25
阅读次数:
115
接着上一讲的内容 八、编程导航中的路由传参 这里我们有这样的方式去传递路由参数 我们可以通过$touter.query的方式获取传递过来的参数, 我们不需要,在路由里面加:id,什么的去获取这个东西,我们可以特殊的方式传递数据,就好了 传递 /App.vue <router-linnk :to="{ ...
分类:
其他好文 时间:
2020-06-14 10:44:53
阅读次数:
71
If enc_type is PHP_QUERY_RFC1738, then encoding is performed per » RFC 1738 and the application/x-www-form-urlencoded media type, which implies that s ...
分类:
Web程序 时间:
2020-06-13 20:58:56
阅读次数:
150
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, ...
分类:
移动开发 时间:
2020-06-13 14:33:10
阅读次数:
74
创建数据库: use DATABASE_NAME 查看所有数据库: show dbs 删除数据库: db.dropDatabase() 删除集合: db.collection.drop() 创建集合: db.createCollection(name, options) 参数说明: name:要创建 ...
分类:
数据库 时间:
2020-06-12 20:34:03
阅读次数:
66