摘要: 频繁写封装类太麻烦,发个模板记录一下,下次直接用。 调用示例 let tc = new TestClass(); console.log(tc.data2); tc.fn2(); 封装模板 var TestClass = (function() { function _TestClass(prope 阅读全文
posted @ 2023-01-12 13:47 散人长情 阅读(64) 评论(0) 推荐(0) 编辑