摘要:
!function (proto) { function getContext(context) { context = context || window; var type = typeof context; if (['number', 'string', 'boolean', 'null'] 阅读全文
摘要:
1. 调起弹窗 <button class="wxLoginBtn u-m-t-30" open-type="getUserInfo" @getuserinfo="bindGetUserInfo" > 登录/注册 </button> 方法: bindGetUserInfo(data){ this.$ 阅读全文
摘要:
_createElement (entries) { let { tag, attr } = entries let node = document.createElement(tag) for (let key in attr) { node.setAttribute(key, attr[key] 阅读全文