上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页
摘要: max: function (value) { console.log("value", value.max) let n = (value.max + "").split(".")[0].length let pow = Math.pow(10, n - 1) // 10, 100, 1000,. 阅读全文
posted @ 2021-07-12 15:28 sinceForever 阅读(90) 评论(0) 推荐(0)
摘要: { "extends": "eslint-config-egg", "rules": { /* 0 或’off’: 关闭规则。 1 或’warn’: 打开规则,并且作为一个警告,字体颜色为黄色(并不会导致检查不通过)。 2 或’error’:打开规则,并且作为一个错误 ,色体颜色为红色(退出码为1, 阅读全文
posted @ 2021-07-05 14:51 sinceForever 阅读(199) 评论(0) 推荐(0)
摘要: 查了别人解决方法,最终自己的解决方法如下,http和https都不要配置代理,主要是下面那句,因为git就是https的 git config --global --unset http.proxy git config --global --unset https.proxy 分别执行了下面的两句 阅读全文
posted @ 2021-07-02 10:20 sinceForever 阅读(97) 评论(0) 推荐(0)
摘要: 1, 购买阿里云服务器, 2, 安装nginx, 后,http://47.99.189.10:8080/,看nginx是否成功,需要公网ip+端口号,端口号要去配置的, 3,使用 rsync -av koa2-tutorial-account-book root@47.99.189.10:/home 阅读全文
posted @ 2021-06-27 21:16 sinceForever 阅读(49) 评论(0) 推荐(0)
摘要: 摘抄自http://www.dagoogle.cn/n/704.html,仅供自己学习参考 CSS 垂直居中的 8 种方法 通过 verticle-align:middle 实现 CSS 垂直居中。 通过通过 vertical-align:middle 实现 CSS 垂直居中是最常使用的方法,但是有 阅读全文
posted @ 2021-06-23 14:17 sinceForever 阅读(321) 评论(0) 推荐(0)
摘要: <el-collapse v-model="activeNames" @change="handleChange"> <el-collapse-item name="1"> <span class="collapse-title" slot="title">{{ collapseTitle }}</ 阅读全文
posted @ 2021-06-21 10:18 sinceForever 阅读(5502) 评论(0) 推荐(0)
摘要: abstract class Geom { getType() { return "Gemo"; } width: number; abstract getArea(): number; // 抽象方法 } class Circle extends Geom { getArea() { return 阅读全文
posted @ 2021-06-03 23:03 sinceForever 阅读(49) 评论(0) 推荐(0)
摘要: class Person5 { constructor(private name: string) {} get getName() { return this.name; } } const person5 = new Person5("dell5"); console.log(person5.g 阅读全文
posted @ 2021-06-03 22:43 sinceForever 阅读(268) 评论(0) 推荐(0)
摘要: // private protected,public 访问类型 // public 允许在类里面或者外面调用 // private 允许在类内被使用 // protected 允许在类内以及继承的子类中使用 class Person3 { protected age: number; public 阅读全文
posted @ 2021-06-02 23:05 sinceForever 阅读(49) 评论(0) 推荐(0)
摘要: // 如何定义一个类,如何在类里面定义属性和方法 class Person2 { name = "dell"; getName() { return this.name; } } // Perso2是父类,Teacher2是子类 class Teacher2 extends Person2 { ge 阅读全文
posted @ 2021-06-02 22:48 sinceForever 阅读(76) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页