摘要:
目录 1. 数组方法 join() reverse() sort() concat() :a=[''ant','cat'];a.concat(4,3); 结果为:[ant,cat,4 ,3] slice(开始位置,结束位置—可选):索引从0开始;返回本身的值。 splice() push() 、po 阅读全文
posted @ 2018-09-17 14:52
IT记录
阅读(530)
评论(0)
推荐(0)
摘要:
1.url地址片段获取 eg:获取 http://192.168.1.123:8081/components/qwe.html 地址的 http://192.168.1.123:8081/ 获取原因:weex中页面的跳转需要绝对地址,为方便地址跳转,所以建立一个函数 步骤:建立一个js文件,包含以下 阅读全文
posted @ 2018-09-17 14:02
IT记录
阅读(1201)
评论(0)
推荐(0)

浙公网安备 33010602011771号