/// 可空 double 扩展 extension DoubleNullableX on double? { /// 防止字段为空报错 double em() => this ?? 0.0; }