咏竹莉
where there is a will,there is a way
摘要: transform(list) { if (Array.isArray(list) && list.length !== 0) { list = list.map((v) => { v.label = v.name; // 返回label // v.key = v.value if (!this.t 阅读全文
posted @ 2021-09-13 16:56 咏竹莉 阅读(141) 评论(0) 推荐(0)
摘要: h5与安卓联调使用的jsBridge 参考地址: https://github.com/lzyzsd/JsBridge 使用: 1. 在utils目录下新建bridge.js (utils文件夹与views同级) //判断机型 // let u = navigator.userAgent; // / 阅读全文
posted @ 2021-09-13 15:21 咏竹莉 阅读(140) 评论(0) 推荐(0)
摘要: 'use strict' import Vue from 'vue' import axios from 'axios' import qs from 'qs' // post form 表单提交,序列化,否则后台接收不到数据 let config = { withCredentials: true 阅读全文
posted @ 2021-09-13 14:53 咏竹莉 阅读(486) 评论(0) 推荐(0)