beeshell
beeshell copied to clipboard
使用Dialog 自定义footer 使用column 排列 在debug情况下可以显示出所有,但是在非debug情况下 显示不了按钮
不清楚是不是 渲染时间的问题,debug的时候,渲染的慢些,就把所有纵向排列的按钮显示出来了,非debug就不能显示出来 ,都挤在一起了
在Dialog/index.js 文件里面 flex: operationsLayout === 'column' ? null : 1 选择column 的情况下 flex:null 导致显示有问题
所以换个表达方式 const columnStyle = operationsLayout === 'column' ? { flexDirection: 'row'}:{flex:1, flexDirection: 'row'};