aioloswong
aioloswong
我导入的excel的一列为手机号,设置了数据有效性的自定义公式为=AND(ISNUMBER(D2),LEN(D2)=11),导入的时候报一下错误: Validation of xxxx failed: Formula2 must be set if operator is 'between' or 'notBetween'。 问题的原因在与Magicodes.IE引用的包Magicodes.EPPlus的OfficeOpenXml.DataValidation的 ExcelDataValidationWithFormula类的Validate方法,出问题的代码如下图:  最新的官方的原始版的代码如下在 https://github.com/EPPlusSoftware/EPPlus/blob/develop/src/EPPlus/DataValidation/ExcelDataValidationWithFormula.cs 代码如下:  可以看到针对自定义公式类型进行了排除。
## Expected Behavior / New Feature As butterfly is no longer being maintained,please replace it with apache skywalking. https://github.com/SkyAPM/SkyAPM-dotnet https://github.com/apache/skywalking