会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sinceForever
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
22
下一页
2021年7月12日
折线图设置线最大值为刻度最大值时再加处理均匀刻度值
摘要: 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)
2021年7月5日
eslint配置
摘要: { "extends": "eslint-config-egg", "rules": { /* 0 或’off’: 关闭规则。 1 或’warn’: 打开规则,并且作为一个警告,字体颜色为黄色(并不会导致检查不通过)。 2 或’error’:打开规则,并且作为一个错误 ,色体颜色为红色(退出码为1,
阅读全文
posted @ 2021-07-05 14:51 sinceForever
阅读(199)
评论(0)
推荐(0)
2021年7月2日
connect to github.com port 443: Timed out
摘要: 查了别人解决方法,最终自己的解决方法如下,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)
2021年6月27日
记录在阿里云服务器配置网页的一些问题
摘要: 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)
2021年6月23日
css垂直居中的8方法
摘要: 摘抄自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)
2021年6月21日
elementui的Collapse 折叠面板箭头修改方向以及位置
摘要: <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)
2021年6月3日
2.14抽象类
摘要: 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)
2.13Ts静态属性,setter和getter
摘要: 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)
2021年6月2日
2.11类中的访问类型与构造器
摘要: // private protected,public 访问类型 // public 允许在类里面或者外面调用 // private 允许在类内被使用 // protected 允许在类内以及继承的子类中使用 class Person3 { protected age: number; public
阅读全文
posted @ 2021-06-02 23:05 sinceForever
阅读(49)
评论(0)
推荐(0)
2.10类的定义与继承
摘要: // 如何定义一个类,如何在类里面定义属性和方法 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
下一页
公告