PageReference类的作用 PageReference类位于Apex的System命名空间下。它可以用来在Apex代码中将页面跳转到指定的位置。在开发的时候,我们也可以向其中添加任意的参数。 页面跳转的代码示例 PageReference类可以用于多种情况。代码示例如下: 将页面跳转到一个外 ...
分类:
其他好文 时间:
2019-04-21 18:43:52
阅读次数:
432
Taro 生命周期 | 说明 | 网址 | | componentDidShow() | 在此生命周期中通过 this.$router.params,可以访问到程序初始化参数 | https://nervjs.github.io/taro/docs/tutorial.html componentdi ...
分类:
其他好文 时间:
2019-04-18 22:00:40
阅读次数:
163
render操作: render:(h, params) => { return h('div', [ h('Button',{ on:{ click:()=>{ this.edit(params) } } }, '编辑'), h('Span',{ style:{ width:'5px', disp ...
分类:
其他好文 时间:
2019-04-16 10:36:20
阅读次数:
179
get请求: this.$axios.get("http://www.wwtliu.com/sxtstu/news/juhenews.php",{ params:{//是否添加.get都是使用get方式发送请求,axios的默认方式 type:"junshi", count:30 } }) .the ...
分类:
移动开发 时间:
2019-04-15 16:12:16
阅读次数:
247
//$result为传进来的json值 $result = $this->params['auth_result']; //html_entity_decode进行HTML 实体转换为字符 //stripslashes() 函数的作用是删除反斜杠 $info = stripslashes(html_... ...
分类:
Web程序 时间:
2019-04-15 14:33:35
阅读次数:
201
1. public string[] Split(params char[] separator)程序代码 string[] split = words.Split(new Char[] { ',' });//返回:{"1","2.3","","4"}string[] split = words.S ...
话说千遍淡如水,不如代码来一通。 Axios post: let params = new URLSearchParams(); params.append('id',xx) axios({ url:'http://127.0.0.1:8000/userctrl/shoucang', method: ...
分类:
移动开发 时间:
2019-04-14 18:02:58
阅读次数:
353
SqlHelper封装类连接:https://www.cnblogs.com/Gzu_zb/p/10694207.html 1.执行增、删、改的方法:ExecuteNonQuery public static int ExecuteNonQuery(string sql, params SqlPar ...
分类:
数据库 时间:
2019-04-13 10:56:14
阅读次数:
200
Tomcat在 7.0.73, 8.0.39, 8.5.7 版本后,添加了对于http头的验证。 具体来说,就是添加了些规则去限制HTTP头的规范性 参考这里 具体来说: org.apache.tomcat.util.http.parser.HttpParser#IS_NOT_REQUEST_TAR ...
分类:
其他好文 时间:
2019-04-10 20:30:03
阅读次数:
158
导包 jar DBUtils.jarQueryRunner中提供对sql语句操作的API.update(Connection conn, String sql, Object... params) ,用来完成表数据的增加、删除、更新操作query(Connection conn, String sq ...
分类:
数据库 时间:
2019-04-09 20:57:36
阅读次数:
241