0 评论
601 浏览

推荐一下工厂模式的优点,好啦~~

  <pre class="brush:js;">// logger/index.jsimport ConsoleLogger from './console.js'import FileLogger from './file.js'const loggerMa...

!