摘要: !function (proto) { function getContext(context) { context = context || window; var type = typeof context; if (['number', 'string', 'boolean', 'null'] 阅读全文
posted @ 2021-03-10 22:46 1点 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1. 调起弹窗 <button class="wxLoginBtn u-m-t-30" open-type="getUserInfo" @getuserinfo="bindGetUserInfo" > 登录/注册 </button> 方法: bindGetUserInfo(data){ this.$ 阅读全文
posted @ 2021-03-10 18:00 1点 阅读(61) 评论(0) 推荐(0) 编辑
摘要: _createElement (entries) { let { tag, attr } = entries let node = document.createElement(tag) for (let key in attr) { node.setAttribute(key, attr[key] 阅读全文
posted @ 2021-03-10 10:41 1点 阅读(236) 评论(0) 推荐(0) 编辑