Browse Source

Merge branch 'new_dev' of https://github.com/deepcloud2048/deep_voice into new_dev

newdev_shunjiawei
liwei1dao 1 year ago
parent
commit
dba846443f
  1. 4
      lib/data/models/appconfig.dart

4
lib/data/models/appconfig.dart

@ -49,8 +49,8 @@ class AppConfig {
//根据产品名称获取产品配置
static DBProduct? getproduct(String name) {
final foundProduct =
config.products.firstWhere((product) => product.devicename == name);
final foundProduct = config.products
.firstWhere((product) => product.devicename.contains(name));
return foundProduct;
}
}

Loading…
Cancel
Save