摘要:
<template> <div class="edit-container"> <div id="myEditor" ref="myEditor" contenteditable="true" @blur="getBlur()" @keyup="statisticsNum()" /> <div cl 阅读全文
posted @ 2021-12-01 16:56
远看山有色
阅读(236)
评论(0)
推荐(0)
摘要:
参考网上资料,自己整理了一下思路 首先是一个最简化的MyPromise构造函数,参数是executor执行器函数。 接下来是,给这个构造函数增加then方法和catch方法。 打印结果是 最后一步是使构造函数可以链式调用。 function MyPromise(excutor) { console. 阅读全文
posted @ 2021-12-01 11:49
远看山有色
阅读(94)
评论(0)
推荐(0)

浙公网安备 33010602011771号