摘要: 有一个如下代码的构造器函数,我们用新语法重构一下: function Clock({ template }) { let timer; function render() { let date = new Date(); let hours = date.getHours(); if (hours 阅读全文
posted @ 2022-12-07 11:04 错过 阅读(62) 评论(0) 推荐(0)