- 博客(3)
- 收藏
- 关注
原创 开发中常用的css
scoped表示这个样式只在这个组建有用 white-space: nowrap; 文字溢出 body { background: url(“img_tree.png”) no-repeat fixed 50% 50%/cover #ffffff ; } border-bottom:red 1px dashed // 虚线 等价于 body { background-image: url(“img_tree.png”); background-repeat: no-repeat; backg
2022-07-03 17:21:00 45
原创 开发中常用js记录
fun () { return new Promise((resolve, reject) => {}) } fun.then((res) =>{}) let name = “111”; let obj1 = { [name]:“222” } console.log(obj1) //{111: “222”} this.$set(数组或对象,‘val’, ‘新值’)switch(n) { case 不同人在一起: 执行代码块 1 break; case 同一人
2022-07-03 17:11:53 168
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人