摘要:
https://www.cnblogs.com/gaozejie/p/10689742.html https://www.cnblogs.com/ff-upday/p/15050315.html 1.卸载node(控制面板) 2.下载nvm(https://github.com/coreybutle 阅读全文
摘要:
flex布局中,父元素: parent:{ display: flex; } 子元素: child:{ flex: 1; overflow: auto; } 子元素默认占满父元素;子元素内容超过后,没有出现滚动条; 子元素: child:{ flex: 1; overflow: auto; widt 阅读全文
摘要:
1.查询可以用的IP ip通过在https://www.ipaddress.com/上分别搜索 github.com -> 140.82.114.4 github.global-ssl.fastly.net -> 199.232.69.194 2.更改hosts文件 文件地址 C:\Windows\ 阅读全文
摘要:
$到底做了什么? jquery把元素包装成为了jquery的实例,这个实例继承了jquery的原型方法,这样子我们才能使用jquery的方法 链式调用原理 是在每个方法后return this const fn = { fn1: function() { console.log("do someth 阅读全文
摘要:
调用组件 <comp :foo.sync="bar"></comp> 将被扩展为 <comp :foo="bar" @update:foo="val => bar = val"></comp> 当子组件需要更新 foo 的值时,它需要显式地触发一个更新事件 this.$emit('update:fo 阅读全文
摘要:
1.安装 npm install typescript -g 2.编译 tsc test.ts 3.安装ts-node直接 ts-node + test.ts即可完成编译和运行 npm install -g ts-node 阅读全文
摘要:
1.安装脚手架 cnpm install -g @angular/cli 2.下载模板 ng new my-app 3.启动项目 ng serve --open 阅读全文
摘要:
案例 <table cellpadding="0" cellspacing="0" width="400px" border="0"> <tr> <td colspan="3" style="background-color: #ffa500">header</td> </tr> <tr> <td 阅读全文
摘要:
参照 https://blog.csdn.net/weixin_41275295/article/details/100189869 vue 提供了一种称为函数式组件的组件类型,用来定义那些没有响应数据,也不需要有任何生命周期的场景,它只接受一些props 来显示组件。 1.使用方法 Vue.com 阅读全文
摘要:
1.一款 vue+typescript+element 的后台模板 https://github.com/Armour/vue-typescript-admin-template 2.官方讲解用typescript 继承 vue-component (Vue Class Component ) ht 阅读全文