会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Felix_Openmind
https://github.com/serendipitywzz
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
8
···
44
下一页
2025年3月17日
维护一个老项目出现:前后端部署,接口请求出现We’re sorry but XXX doesn’t work properly without JavaScript enabled
摘要: const routerStatic = new VueRouter({ mode: 'history', /*hash模式改为history*/ base: process.env.BASE_URL, routes // (缩写)相当于 routes: routes }) export defau
阅读全文
posted @ 2025-03-17 11:15 Felix_Openmind
阅读(252)
评论(0)
推荐(0)
2025年3月14日
AntDesign 表单中a-select对数据进行回显
摘要: <a-select v-model:value="checkedUserLeader" label-in-value :show-search="true" placeholder="请输入" style="width: 100%" :filter-option="false" :not-found
阅读全文
posted @ 2025-03-14 16:10 Felix_Openmind
阅读(241)
评论(0)
推荐(0)
2025年3月4日
[组件库]AntDesignVue框架中a-tab中tab框改造成圆角带有背景
摘要: 改造前 改造后 CustomTab.vue使用 <CustomTab :tabOpts="tabOpts" /> const tabOpts = ref([{ label: '待审核', value: '1' }, { label: '已审批', value: '2' }]) 封装组件 Custom
阅读全文
posted @ 2025-03-04 16:30 Felix_Openmind
阅读(156)
评论(0)
推荐(0)
2025年3月1日
React setState
摘要: 相关代码题目setState import React, {Suspense, lazy, useState, useEffect} from "react"; // JSX、VDOM、diff算法、Fiber架构、并发模式、合成事件 // 为什么React需要Fiber并发模式而Vue不需要 ??
阅读全文
posted @ 2025-03-01 23:05 Felix_Openmind
阅读(25)
评论(0)
推荐(0)
2025年2月15日
浏览器的16ms渲染侦
摘要: Chromimum的Blink引擎的结论: 一个渲染帧内commit的多次DOM改动会被合并渲染 耗时JS会造成丢帧 渲染帧间隔为16ms左右 避免耗时脚本、交错读写样式以保证流畅的渲染 渲染帧:浏览器一次完整绘制过程。帧之间的时间间隔是DOM视图更新的最小间隔 主流的屏幕刷新频率都在60Hz,则渲
阅读全文
posted @ 2025-02-15 14:15 Felix_Openmind
阅读(69)
评论(0)
推荐(0)
Vue3相对于Vue2的提升|区别
摘要: https://cn.vuejs.org/guide/best-practices/performance Vue框架基于MVVM的架构进行开发 M - Model:数据层(数据逻辑处理 V - View: 视图层 VM - ViewModel: 数据的响应和渲染(连接数据层和视图层的桥梁) Vue
阅读全文
posted @ 2025-02-15 11:59 Felix_Openmind
阅读(169)
评论(0)
推荐(0)
2025年2月13日
[组件库]基于AntDesign中a-steps步骤条封装和自定义样式
摘要: eg code <template> <div> <a-steps progress-dot :current="1" direction="vertical" > <a-step v-for="(item, index) in stepData" :key="index" :title="item
阅读全文
posted @ 2025-02-13 11:32 Felix_Openmind
阅读(641)
评论(0)
推荐(0)
2025年2月12日
ant Design table表格 hover行样式修改(也可解决hover修改后背景出现闪白的现象)
摘要: .ant-table-tbody > tr.ant-table-row:hover > td, .ant-table-tbody > tr > td.ant-table-cell-row-hover { background: #222b50 !important; } 设置Table中每行背景颜色
阅读全文
posted @ 2025-02-12 11:55 Felix_Openmind
阅读(295)
评论(0)
推荐(0)
2025年2月11日
[组件库]div设置四个角边框
摘要: 示例 实现 .top-header { background-image: url('../../assets/slider/topHeaderTopLeft.svg'), /* 左上角图像 */ url('../../assets/slider/topHeaderTopRight.svg'), /
阅读全文
posted @ 2025-02-11 16:53 Felix_Openmind
阅读(56)
评论(0)
推荐(0)
2025年2月9日
SSE、EventSource了解
摘要: EventSource接口是web内容和服务器发送事件通信的接口 一个EventSource实例会对HTTP服务器开启一个持久化的连接,以text/event-stream格式发送事件 该连接会一直保持开启直到调用EventSource.close()关闭 EventSource是一种Web API
阅读全文
posted @ 2025-02-09 17:35 Felix_Openmind
阅读(4945)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
8
···
44
下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}