s

09 2023 档案

摘要:枚举: enum 这样一个代码输出: a = {} a['one'] = 1 console.log(a['one'] = 1) => 输出 1 !!! 所以 a[a['one'] = 1] = 'one' => { "1": "one", "one": 1,} 就有枚举那味了!!!! 阅读全文
posted @ 2023-09-22 17:35 努力不搬砖的iori 阅读(4) 评论(0) 推荐(0) 编辑
摘要:多个标签页之前的通信: method1: 在页面中打开pagex: window.open('./pageX.html', '__blank'),但是有只想做到第一次打开新页面,而后每次通信都是 与同一个pageX 通信 ,而不是每次都打开一个新页面 其实第二个参数 就可以取个名字 window.o 阅读全文
posted @ 2023-09-21 15:43 努力不搬砖的iori 阅读(13) 评论(0) 推荐(0) 编辑
摘要:class myPromise { static PENDING = 'pending' static REJECT = 'reject' static RESOLVE = 'resolve'; constructor(executor) { this.value = null this.statu 阅读全文
posted @ 2023-09-21 15:42 努力不搬砖的iori 阅读(3) 评论(0) 推荐(0) 编辑
摘要:css 新单位 vmin 表示 获取视口的最长边或者最短边 vmax shape-outside:circle(50% as 50% 50%) 这个表示文字的环绕方式, 比如浮动后,文字会环绕浮动元素排列, 但是如果浮动元素形状变成圆形,默认的环绕方式还是会是方正的, 使用这个属性就可以实现弧形的环 阅读全文
posted @ 2023-09-21 14:47 努力不搬砖的iori 阅读(9) 评论(0) 推荐(0) 编辑
摘要:代替 Vue.delete vue3 中可以使用 delete obj.xxx 就可以实现去删除 obj的xxx属性!!! 第二种: 借助于 del import {del} from 'vue' del(obj, propertyName) 也可删除属性!!! 每个vue 页面因为scoped 这 阅读全文
posted @ 2023-09-20 15:39 努力不搬砖的iori 阅读(9) 评论(0) 推荐(0) 编辑
摘要:记录一下看到过的,没见过的不知道就算了; inline-size: 60px block-size:30px padding-block:10px 这三个文字属性 和 writing-mode: 有关, writing-mode 设置文字是从左往右排列还是从上往下 关于 nth-child!!! M 阅读全文
posted @ 2023-09-20 15:39 努力不搬砖的iori 阅读(10) 评论(0) 推荐(0) 编辑
摘要:flex 布局 默认的 align-items 是 stretch , 所以 flex-direction:column 时,所有的元素时等宽, 而 rows ,元素就是等高【默认】,就会产生popper层关闭的bug!!! vertical-align :middle 依据:aligns rhe 阅读全文
posted @ 2023-09-20 15:38 努力不搬砖的iori 阅读(11) 评论(0) 推荐(0) 编辑
摘要:proxy.$http.post(url, commitObject.value, { headers: { responseType: 'blob' } }).then((p) => { if (p.data.code == 200 || p.status == 200) { ElMessage. 阅读全文
posted @ 2023-09-08 14:01 努力不搬砖的iori 阅读(812) 评论(0) 推荐(0) 编辑
摘要:const instance = axios.create({ // baseURL: "http://175.30.32.3:48080", timeout: 120000, headers: { Authorization: 'Bearer ' + getToken(), 'Content-Ty 阅读全文
posted @ 2023-09-08 10:10 努力不搬砖的iori 阅读(820) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
🚀
回顶
收起
  1. 1 404 not found REOL
404 not found - REOL
00:00 / 00:00
An audio error has occurred.