vue-element-plus-admin icon indicating copy to clipboard operation
vue-element-plus-admin copied to clipboard

A backend management system based on vue3, typescript, element-plus, and vite

Results 143 vue-element-plus-admin issues
Sort by recently updated
recently updated
newest added

部门管理中,使用了TreeSelect,会产生一个问题,新增部门时,无法添加到顶级目录。比如第一个,无法添加一个新部门到厦门分公司

![image](https://github.com/user-attachments/assets/20a78673-9173-4e6b-8462-2966c59af80f) //列定义,这样定义开关switch点不动,是事件没触发吗?能否在表格中加操作列直接操作开关的案例 { field: 'publishStatus', label: t('product.table.publishStatus'), formatter: (_: Recordable, __: TableColumn, cellValue: number) => { return h( ElSwitch,{modelValue:true,disabled:false} ) } },

![微信图片_20240725114315](https://github.com/user-attachments/assets/6a7ecda0-fde0-47fa-8cc2-2402dac4f7fe) ![微信图片_20240725114329](https://github.com/user-attachments/assets/75121d2c-e46b-4a08-84cb-d9760716fee7)

bug

经使用,发现useForm或者useSearch时, 各组件缺少placeholder属性, 以至于所有的input显示请输入, 所有的select都显示请选择。如果可以的话,请开发者提供一个属性,专门用来定义placeholder。

enhancement

我复制到自己的项目中,Form中只有isCol 使用propTypes.bool.def(true) 获得的值为false,更改为isElCol获取到的值为正常的

在页面中使用路由守卫onBeforeRouteLeave进行页面跳转拦截的时候,成功拦截到了路由的push行为,但是页面菜单的选中样式没有拦截到。比如 我在A页面要跳转去B页面,A页面的数据没保存,于是在A页面进行了弹窗警告,但是此时菜单的选中状态是B被选中了

在nodejs20 中eslint报错TypeError: this.libOptions.parse is not a function,尝试切换eslint版本从7到9都没有用

1. 固定列后表格滑动不流畅 环境:windows,mac没试 复现条件:表格有换行+列固定 鼠标放在表头没问题,鼠标放在表格里滑动卡顿,需要多滑动几次 ![Uploading 微信图片_20240709114724.png…]() 3. 固定列后文字颜色变暗 复现条件:表格背景色渐变+列固定+文字颜色是红色这种鲜艳的颜色 ![微信图片_20240709114729](https://github.com/kailong321200875/vue-element-plus-admin/assets/55779811/3afa5538-9c97-4bba-bbdd-d9f0437a1319)

参考文档:https://element-plus-admin-doc.cn/guide/router.html 给路由设置一个不存在的权限,permission: ['testpermission'],不生效,菜单依然能够显示和使用 { path: 'analysis', component: () => import('@/views/Dashboard/Analysis.vue'), name: 'Analysis', meta: { title: t('router.analysis'), permission: ['testpermission'], noCache: true, affix: true } },

使用最新的2.9版本, 在任一组件引入TableV2FixedDir并使用,然后进行打包 即可触发报错: ERROR error during build: 10:26:29 [vite]: Rollup failed to resolve import "E:/GIT/test/vue-element-plus-admin-2.9.0/node_modules/.pnpm/[email protected][email protected][email protected]_/node_modules/element-plus/es/components/table-v2-fixed-dir/style/css" from "E:/GIT/test/vue-element-plus-admin-2.9.0/src/views/Authorization/User/User.vue?vue&type=script&setup=true&lang.tsx". This is most likely unintended because it can break your application at runtime....