摘要: 效果: css 直接加上就可以用了,如果要加在公共样式里面的话把 ::v-deep 都去掉就可以了: .el-tree ::v-deep .el-tree-node__expand-icon.expanded { -webkit-transform: rotate(0deg); transform: 阅读全文
posted @ 2024-04-10 16:58 李帆同学 阅读(22) 评论(0) 推荐(0) 编辑
摘要: // https://vitejs.dev/config/ // vite.config.js export default defineConfig({ plugins: [vue(), vueJsx()], resolve: { alias: { '@': fileURLToPath(new U 阅读全文
posted @ 2024-03-18 11:01 李帆同学 阅读(67) 评论(0) 推荐(0) 编辑
摘要: # 网格grid 纯css实现响应式布局 ```html Document ``` 阅读全文
posted @ 2023-07-25 10:54 李帆同学 阅读(18) 评论(0) 推荐(0) 编辑
摘要: # 前端已死,我们的出路究竟在哪里? ![前端已死,我们的出路究竟在哪里?_前端工程师](https://img2023.cnblogs.com/blog/1683721/202307/1683721-20230724100029996-1025223757.png) 最近前端已死这个话题很火,同时 阅读全文
posted @ 2023-07-24 09:46 李帆同学 阅读(168) 评论(0) 推荐(0) 编辑
摘要: <script setup lang='ts'> import { Directive } from "vue"; const vMove: Directive = { mounted(el: HTMLElement) { let moveEl = el.firstElementChild as H 阅读全文
posted @ 2023-02-17 15:40 李帆同学 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 注意:ref方式获取的和js原生方式获取的dom类型不同,用原生的js获取dom方式代替ref方式,这样才能判断是否属于自身区域的。 mounted() { // 监听,除了点击自己,点击其他地方将自身隐藏 document.addEventListener("click", e => { cons 阅读全文
posted @ 2023-01-29 10:13 李帆同学 阅读(596) 评论(0) 推荐(0) 编辑
摘要: vue 多项目部署 二级目录 新项目:同一域名下部署多个vue项目, 根目录vue项目不需要按下面的方式进行打包部署 https://www.bitedit.com/ 下面三个项目以二级目录部署 https://www.bitedit.com/hmange https://www.bitedit.c 阅读全文
posted @ 2022-12-26 15:59 李帆同学 阅读(1112) 评论(0) 推荐(1) 编辑
摘要: # user nobody; user root; worker_processes 1; worker_rlimit_nofile 51200; events { use epoll; worker_connections 51200; multi_accept on; } http { incl 阅读全文
posted @ 2022-12-26 15:51 李帆同学 阅读(557) 评论(0) 推荐(0) 编辑
摘要: # user nobody; worker_processes 1; worker_rlimit_nofile 51200; events { #use epoll; worker_connections 51200; multi_accept on; } http { include mime.t 阅读全文
posted @ 2022-12-26 15:50 李帆同学 阅读(30) 评论(0) 推荐(0) 编辑
摘要: nginx为什么在二级目录访问的时候要加/才能访问到 比如https://scout.dhhb.com:9443/bigScreen 要这样https://scout.dhhb.com:9443/bigScreen/才能访问到 不加最后那个/无法访问。 解决办法: 第一种(常见做法 【自动添加/】) 阅读全文
posted @ 2022-12-26 15:38 李帆同学 阅读(1453) 评论(0) 推荐(0) 编辑
TOP