Parcourir la source

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

loki.wu il y a 1 an
Parent
commit
f1a5af909c
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      lib/components/form_relevant/select_component.dart

+ 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,