摘要: instanceof 是 JavaScript 中的一个运算符,用来检测某个对象是否是某个构造函数的实例。它的语法是: object instanceof constructor object 是要检测的对象。 constructor 是构造函数,它用来检测 object 是否是该构造函数或其继承链 阅读全文
posted @ 2025-12-12 09:59 盘思动 阅读(5) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/1202393/202512/1202393-20251211232210159-412493913.png) 阅读全文
posted @ 2025-12-11 23:22 盘思动 阅读(1) 评论(0) 推荐(0)
摘要: .## 去除 /apis 路径 将 /apis/user/1 重写为 /user/1 location /apis { proxy_pass http://127.0.0.1:8000/; proxy_pass_request_headers on; # 重写URL 去除apis rewrite " 阅读全文
posted @ 2025-12-11 18:52 盘思动 阅读(2) 评论(0) 推荐(0)
摘要: 设置完之后,重启vscode!! https://blog.csdn.net/qq_33966519/article/details/122416055 阅读全文
posted @ 2025-12-01 15:44 盘思动 阅读(4) 评论(0) 推荐(0)
摘要: flex: 1 是 Flexbox 布局中的一个非常常用的属性,它用于 让一个元素在容器中占据剩余的空间。具体来说,flex: 1 是 flex-grow, flex-shrink, 和 flex-basis 的简写。 解释 flex: 1 的含义: flex-grow: 1:元素将会扩展以占据容器 阅读全文
posted @ 2025-11-03 19:37 盘思动 阅读(157) 评论(0) 推荐(0)
摘要: https://gitee.com/e4glet/vue-cli4-framwork 阅读全文
posted @ 2025-09-16 16:29 盘思动 阅读(11) 评论(0) 推荐(0)
摘要: 这个错误 mysqli::real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] 出现的原因是因为 MySQL 服务器使用了 caching_sh 阅读全文
posted @ 2025-07-02 10:03 盘思动 阅读(451) 评论(1) 推荐(0)
摘要: 处理方式 export HOMEBREW_NO_INSTALL_FROM_API=1 brew update ⚠ 应急方式 使用国内镜像 中国科大镜像 export HOMEBREW_API_DOMAIN="https://mirrors.ustc.edu.cn/homebrew-bottles/a 阅读全文
posted @ 2025-07-01 14:19 盘思动 阅读(692) 评论(0) 推荐(0)
摘要: 匹配,搜索。非精准查询。常在windows用于检测某端口是否开放!!! netstat -ano | findstr "" 是一个在 Windows 命令行中使用的命令,用于显示网络连接的详细信息,并使用 findstr 来筛选输出。以下是对该命令的解释: 命令解析: netstat -ano: n 阅读全文
posted @ 2025-05-27 14:35 盘思动 阅读(964) 评论(0) 推荐(0)
摘要: 在 CSS 中,无法直接选择上层的 div(即父元素)。CSS 主要是通过选择子元素、兄弟元素或者当前元素来进行样式应用。CSS 没有提供从子元素向上选择父元素的功能。 不过,有一些方法可以间接影响父元素的样式或实现类似效果: 方法 1: 使用 :has() 伪类(目前仅支持部分浏览器) CSS4 阅读全文
posted @ 2025-05-20 13:43 盘思动 阅读(190) 评论(0) 推荐(0)