10 2020 档案

摘要:前端get请求: function() { var href = "/platform_wechat/MedicalHome/update.do?id=" + id; //地址以及传递的参数 $.get(href, function(res) { //res为接口返回数据 if (res.succe 阅读全文
posted @ 2020-10-27 10:08 _情书 阅读(2629) 评论(0) 推荐(0) 编辑
摘要:1.新建 utils.wxs 文件 2.wxs页面代码如下 var filters = { /** * 参数1: 要截取的字符串 * 参数2: 开始截取的index * 参数3: 结束截取的index */ substring:function(val,start,end){ if (val.len 阅读全文
posted @ 2020-10-21 13:42 _情书 阅读(588) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示