10 2020 档案
摘要:前端get请求: function() { var href = "/platform_wechat/MedicalHome/update.do?id=" + id; //地址以及传递的参数 $.get(href, function(res) { //res为接口返回数据 if (res.succe
阅读全文
摘要:1.新建 utils.wxs 文件 2.wxs页面代码如下 var filters = { /** * 参数1: 要截取的字符串 * 参数2: 开始截取的index * 参数3: 结束截取的index */ substring:function(val,start,end){ if (val.len
阅读全文