上一页 1 2 3 4 5 6 7 8 ··· 44 下一页
摘要: 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)
摘要: <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)
摘要: 改造前 改造后 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)
摘要: 相关代码题目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)
摘要: Chromimum的Blink引擎的结论: 一个渲染帧内commit的多次DOM改动会被合并渲染 耗时JS会造成丢帧 渲染帧间隔为16ms左右 避免耗时脚本、交错读写样式以保证流畅的渲染 渲染帧:浏览器一次完整绘制过程。帧之间的时间间隔是DOM视图更新的最小间隔 主流的屏幕刷新频率都在60Hz,则渲 阅读全文
posted @ 2025-02-15 14:15 Felix_Openmind 阅读(69) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: .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)
摘要: 示例 实现 .top-header { background-image: url('../../assets/slider/topHeaderTopLeft.svg'), /* 左上角图像 */ url('../../assets/slider/topHeaderTopRight.svg'), / 阅读全文
posted @ 2025-02-11 16:53 Felix_Openmind 阅读(57) 评论(0) 推荐(0)
摘要: 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;}