会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Felix_Openmind
https://github.com/serendipitywzz
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
···
44
下一页
2025年5月8日
Vue3中使用swiper、vue-swiper-awesome实现弹出层图片轮播组件
摘要: 示例 核心组件 SwiperModal.vue <template> <div v-if="visible" class="swiper-modal"> <div class="modal-overlay" @click="close"></div> <div class="modal-conten
阅读全文
posted @ 2025-05-08 17:50 Felix_Openmind
阅读(251)
评论(0)
推荐(0)
2025年4月21日
tailwind.config.js _ Tailwind CSS配置文件
摘要: tailwind.config.js是Tailwind CSS的配置文件,定制化Tailwind的默认配置 可自定义颜色、间距、字体、断点 /** @type {import('tailwindcss').Config} */ module.exports = { // 指定Tailwind CSS
阅读全文
posted @ 2025-04-21 10:05 Felix_Openmind
阅读(410)
评论(0)
推荐(0)
2025年4月14日
a-select中filterOption前端实现过滤
摘要: <a-select v-model:value="record.positions" placeholder="请选择" show-search :filterOption="filterOption" @change="(value, option) => onSelect(value, opti
阅读全文
posted @ 2025-04-14 16:02 Felix_Openmind
阅读(185)
评论(0)
推荐(0)
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
阅读(214)
评论(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
阅读(196)
评论(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
阅读(114)
评论(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
阅读(16)
评论(0)
推荐(0)
2025年2月15日
浏览器的16ms渲染侦
摘要: Chromimum的Blink引擎的结论: 一个渲染帧内commit的多次DOM改动会被合并渲染 耗时JS会造成丢帧 渲染帧间隔为16ms左右 避免耗时脚本、交错读写样式以保证流畅的渲染 渲染帧:浏览器一次完整绘制过程。帧之间的时间间隔是DOM视图更新的最小间隔 主流的屏幕刷新频率都在60Hz,则渲
阅读全文
posted @ 2025-02-15 14:15 Felix_Openmind
阅读(48)
评论(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
阅读(148)
评论(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
阅读(490)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
44
下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}