摘要: index2 和 reasons_id 数据显示重复,可以删除列'reasons_id',如果强迫症必须删除索引,可以用下面的方法 # reasons_id total_price ... total_price_统计 people_num_统计 # index1 index2 ... # A 变座 阅读全文
posted @ 2024-05-03 18:55 笑而不语心自闲 阅读(1) 评论(0) 推荐(0) 编辑
摘要: C=pd.merge(A,B),merge之后C的行数并不会变。但是A的index丢失了,因为merge之后index是重排的。 解决办法: 方法1: #可以先把A的index保存一下,A、B中含有"col"列 A_index =A.index C=pd.merge(A,B,on="col",how 阅读全文
posted @ 2024-05-03 18:24 笑而不语心自闲 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-05 22:09 笑而不语心自闲 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 打开dbeaver后,提示(project general master password) 清除方法: 文件-->Project security 阅读全文
posted @ 2024-03-06 21:13 笑而不语心自闲 阅读(93) 评论(0) 推荐(0) 编辑
摘要: element-plus 2.4.1版本 el-tree 设置属性props中的label时,无法指定,例如 <el-tree :data="datas.tree_data" show-checkbox node-key="menu_id" :props="{ // label: function( 阅读全文
posted @ 2024-02-08 17:15 笑而不语心自闲 阅读(41) 评论(0) 推荐(0) 编辑
摘要: <template> <el-dialog v-model="dialogVisible" :title="title" :width="width" :close-on-click-modal="false" :close-on-press-escape="false" @close="dialo 阅读全文
posted @ 2024-02-03 17:39 笑而不语心自闲 阅读(30) 评论(0) 推荐(0) 编辑
摘要: // require import components const files = require.context("@/components/control", true, /\index.vue$/); // console.log('files:', files.keys()) //file 阅读全文
posted @ 2024-01-28 23:29 笑而不语心自闲 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 报错: newsDetailed:1 Access to XMLHttpRequest at 'http://www.py32api.com:8000/users/uploadFile/' from origin 'http://localhost:8080' has been blocked by 阅读全文
posted @ 2023-12-22 10:11 笑而不语心自闲 阅读(60) 评论(0) 推荐(0) 编辑
摘要: confirm运行时,如果不加.catch捕获,会出现错误提示,解决办法: 方法1: vue.config.js中 关闭全局错误提示 module.exports = defineConfig({ transpileDependencies: true, lintOnSave: false, dev 阅读全文
posted @ 2023-11-16 21:02 笑而不语心自闲 阅读(486) 评论(0) 推荐(0) 编辑
摘要: export function Team(data = {}) { return service.request({ method: "get", url: "https://example.com/api/endpoint", // 替换成实际的API端点 params: { param1: da 阅读全文
posted @ 2023-11-07 22:49 笑而不语心自闲 阅读(230) 评论(0) 推荐(0) 编辑