mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 10:35:57 +08:00
fixed(切换条件不正确):
1.提交时,修改了切换条件做测试,未撤回
This commit is contained in:
parent
110df3a175
commit
03131f080a
@ -131,7 +131,7 @@ public class ExcelDownHandler implements SheetWriteHandler {
|
|||||||
// 如果指定了列下标,以指定的为主
|
// 如果指定了列下标,以指定的为主
|
||||||
index = fields[i].getDeclaredAnnotation(ExcelProperty.class).index();
|
index = fields[i].getDeclaredAnnotation(ExcelProperty.class).index();
|
||||||
}
|
}
|
||||||
if (options.size() > 2) {
|
if (options.size() > 20) {
|
||||||
// 这里限制如果可选项大于20,则使用额外表形式
|
// 这里限制如果可选项大于20,则使用额外表形式
|
||||||
dropDownWithSheet(helper, workbook, sheet, index, options);
|
dropDownWithSheet(helper, workbook, sheet, index, options);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user