07 2019 档案

摘要:话不多说直接上组件代码。。 调用组件。。。 效果如下: 参考原文:https://blog.csdn.net/xqq580231/article/details/78086173 阅读全文
posted @ 2019-07-28 15:19 谢书怜 阅读(17490) 评论(0) 推荐(2)
摘要:// const PENDING = "pending" const RESOLVE = "resolve" const REJECT = "reject" function MyPromise(fn) { const that = this that.status = PENDING // MyPromise 内部状态 t... 阅读全文
posted @ 2019-07-21 16:30 谢书怜 阅读(311) 评论(0) 推荐(0)