上一页 1 2 3 4 5 6 7 ··· 44 下一页
摘要: 定义模型: namespace House.Models.PublicClass { /// <summary> /// 城市 /// </summary> public class Province { /// <summary> /// 城市编号 /// </summary> /// [Key] 阅读全文
posted @ 2025-03-16 11:24 龙卷风吹毁停车场 阅读(83) 评论(0) 推荐(0)
摘要: 在app.vue中全局引入css文件 <style> @import "./static/css/reset.css"; @import "./static/css/flex-class.css"; @import "./static/css/margin-class.css"; /*每个页面公共c 阅读全文
posted @ 2025-02-28 15:37 龙卷风吹毁停车场 阅读(141) 评论(0) 推荐(0)
摘要: 方式一, 在vite.confing.mts中增加: 注意: 开发环境也会被清除 esbuild: { drop: ['console', 'debugger'], }, 详细代码: import { defineConfig } from '@vben/vite-config'; import E 阅读全文
posted @ 2025-02-27 10:48 龙卷风吹毁停车场 阅读(505) 评论(0) 推荐(0)
摘要: 没处理的时候是不是看着很丑只需要在需要处理的 el-table-column 标签中添加 className 然后设置样式为 vertical-align: top; 完整代码 : 然后增加对应的样式 <style> .el-table .my-store-management-cell { ver 阅读全文
posted @ 2025-02-19 17:55 龙卷风吹毁停车场 阅读(255) 评论(0) 推荐(0)
摘要: 安装 mitt yarn add mitt 创建一个文件: bus.ts import mitt from 'mitt' const Bus = mitt(); export default Bus 在使用的地方引入 bus.ts import Bus from "#/assets/js/tool/ 阅读全文
posted @ 2025-02-14 16:27 龙卷风吹毁停车场 阅读(33) 评论(0) 推荐(0)
摘要: /** * 百度坐标转高德坐标 */ export function Bd_decrypt(bd_lng: number, bd_lat: number) { var X_PI = (Math.PI * 3000.0) / 180.0; var x = bd_lng - 0.0065; var y 阅读全文
posted @ 2025-01-09 10:03 龙卷风吹毁停车场 阅读(27) 评论(0) 推荐(0)
摘要: <el-table class="margin-top-16" :data="selectedTableData" :header-cell-class-name="headerCellClassName" style="width: 100%" height="400"> <el-table-co 阅读全文
posted @ 2025-01-07 12:00 龙卷风吹毁停车场 阅读(289) 评论(0) 推荐(0)
摘要: 需求是我只想要一个日期选择框,如下 但是element的日期选择框架都是这样,带有一个框,为了得到我想要的效果,我们把他设置为默认打开,在将其input框隐藏起来。 建议将其单独封装为组件使用,避免影响其它日期选择框 <script setup lang="ts"> import { ref, on 阅读全文
posted @ 2024-12-31 14:55 龙卷风吹毁停车场 阅读(662) 评论(0) 推荐(1)
摘要: 后端接口返回文件 [Authorization] //给下载模版添加权限 [HttpGet] public IActionResult DownloadTemplate() { //AppContext.BaseDirectory 用于获取项目根目录 var filePath = $"{AppCon 阅读全文
posted @ 2024-12-27 13:49 龙卷风吹毁停车场 阅读(61) 评论(0) 推荐(0)
摘要: //安装papaparse npm i papaparse --saveimport * as Papaparse from "papaparse";/** * 默认导出数据头部 * 贴别注意格式的问题, 不然导出的.cvs文件和上传的.cvs文件解析出来的结果会不一样 数组的长度必须保持一致,不够 阅读全文
posted @ 2024-12-17 17:45 龙卷风吹毁停车场 阅读(97) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 44 下一页