Comments (6)
还有就是,新增的表单里面有的,点编辑,哪怕设置了editDisplay:false,也会显示出来,反过来一样
确定以上的问题,都没有设置错误addDisplay和editDisplay ,试了只用display :false ,也不行,很蛋疼
from mineadmin-vue.
这个bug已经修复,拉取main分支的最新代码即可
from mineadmin-vue.
from mineadmin-vue.
display问题也可以照此修复下
from mineadmin-vue.
收到,感谢大佬🙏
from mineadmin-vue.
display问题也可以照此修复下
不过使用这个代码还是有一些问题,我最后是这么修改的:
let disabledProp = currentAction.value === 'add' ? 'addDisabled' : currentAction.value === 'edit' ? 'editDisabled' : 'disabled';
if (typeof item[disabledProp] !== 'undefined') {
return item[disabledProp];
} else if (typeof item.disabled !== 'undefined') {
return item.disabled;
}
return false;
};
from mineadmin-vue.
Related Issues (20)
- 表格有没有预览视频、音频功能 HOT 1
- curd 表格预览,点击mp4文件打开新的tag HOT 4
- 热更新的不生效问题 HOT 2
- ma-crud formType='grid-tailwind' 多层级dataIndex时 编辑不回显-(好了, 是我ma-form/index.vue文件 不对) HOT 3
- 在跳转的时候怎么携带参数呢 HOT 3
- 表单设计器目前在代码里没有的嘛 HOT 1
- closeTag 为什么没有清除缓存??? HOT 1
- 修改静态路由后无法访问 HOT 2
- MaCrud如何获取select选择器切换事件? HOT 1
- MaFormModel拿不到FormRef HOT 3
- 下拉框远程搜索不生效 HOT 1
- 使用layout布局时,编辑框显示异常 HOT 4
- [优化] children-form增加showAdd HOT 3
- [优化] 优化请求/优化表格数据监听 HOT 1
- maCrud无法使用arco的表格API:default-selected-keys
- 【前端建议】ma-crud解耦,生成实际的add和edit页面 HOT 4
- 【建议】编辑修改记录时,应该实时从服务器获取 HOT 1
- 【BUG】前端开启代码拆分后,Yarn build后混合布局的样式错乱 HOT 1
- 【BUG】系统配置,配置项组件为单选框时无法正确渲染视图
- select 分页时无法选择 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mineadmin-vue.