Kaynağa Gözat

修正下拉选择框选中项为空的问题

loki.wu 1 yıl önce
ebeveyn
işleme
f1a5af909c

+ 2 - 0
lib/components/form_relevant/select_component.dart

@@ -1,5 +1,6 @@
 import 'package:fis_ui/index.dart';
 import 'package:flutter/material.dart';
+import 'package:fis_theme/theme.dart';
 
 /// 选择框的封装
 class FFromSelect extends FStatelessWidget {
@@ -28,6 +29,7 @@ class FFromSelect extends FStatelessWidget {
       source: sourceList,
       hintText: hintText,
       value: value,
+      fontFamily: FTheme.ins.localeSetting.fontFamily,
       textColor: Colors.black,
       clearable: true,
       height: 36,