上一页 1 2 3 4 5 6 7 ··· 44 下一页
摘要: 相关核心代码 export const doHzExport = (url, params) => { return request.get(baseURL + url, { params, // 参数会作为查询字符串附加到URL responseType: 'blob' // 设置响应类型为blo 阅读全文
posted @ 2025-06-27 11:29 Felix_Openmind 阅读(42) 评论(0) 推荐(0)
摘要: :deep(.ant-input::placeholder) { color: rgba(255, 255, 255, 0.8) !important; } 阅读全文
posted @ 2025-06-23 15:18 Felix_Openmind 阅读(23) 评论(0) 推荐(0)
摘要: 组件代码 <template> <a-spin :spinning="loading"> <div style="min-height: 220px;"> <a-tree v-model:checkedKeys="checkedKeys" v-model:expandedKeys="expanded 阅读全文
posted @ 2025-06-10 11:33 Felix_Openmind 阅读(301) 评论(0) 推荐(0)
摘要: 案例 Code <a-form-item label="季度" required> <a-date-picker v-model:value="formState.reportTaskTime" format="YYYY年第Q季度" value-format="YYYY年第Q季度" placehol 阅读全文
posted @ 2025-05-19 19:30 Felix_Openmind 阅读(193) 评论(1) 推荐(0)
摘要: Eg Core Code import { h } from 'vue'; const genColsByData = (data) => { if(isEmpty(data)) return return data.map(item => { return { title: () => h( 'a 阅读全文
posted @ 2025-05-16 14:30 Felix_Openmind 阅读(72) 评论(0) 推荐(0)
摘要: 可增减输入框 组件代码 <template> <div class="custom-report-row" v-for="(row, index) in reportTimeList" :key="index"> <a-date-picker v-model:value="row.reportTim 阅读全文
posted @ 2025-05-13 10:02 Felix_Openmind 阅读(35) 评论(0) 推荐(0)
摘要: Vue3中的依赖注入API: Provide和Inject,实现祖先组件向后代组件传递数据,避免props逐层传递的繁琐 Provide(提供者) 祖先组件通过provide()提供数据 const count = ref(0) // 提供静态数据 provide('appName', 'My Ap 阅读全文
posted @ 2025-05-11 15:02 Felix_Openmind 阅读(507) 评论(0) 推荐(0)
摘要: 示例 核心组件 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 阅读(262) 评论(0) 推荐(0)
摘要: tailwind.config.js是Tailwind CSS的配置文件,定制化Tailwind的默认配置 可自定义颜色、间距、字体、断点 /** @type {import('tailwindcss').Config} */ module.exports = { // 指定Tailwind CSS 阅读全文
posted @ 2025-04-21 10:05 Felix_Openmind 阅读(473) 评论(0) 推荐(0)
摘要: <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 阅读(221) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 44 下一页
*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}