From cc8ef3e1a87ce9773becb870d5fb73b4cc8b7183 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Mon, 15 Apr 2024 11:12:12 +0800 Subject: [PATCH] pub: 1.0.3 --- lib/config.dart | 9 +++++---- .../new_inventory_inout/components/inventory_search.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/config.dart b/lib/config.dart index 64a31e5..1a41b59 100644 --- a/lib/config.dart +++ b/lib/config.dart @@ -5,14 +5,15 @@ class GloablConfig { // static const BASE_URL = "http://10.0.2.2:8001/api/"; // static const OSS_URL = "http://10.0.2.2:8001"; - // static const BASE_URL = "http://144.123.43.138:3001/api/"; - // static const OSS_URL = "http://144.123.43.138:3001"; - static const BASE_URL = "http://192.168.60.220:8001/api/"; - static const OSS_URL = "http://192.168.60.220:8001"; + static const BASE_URL = "http://144.123.43.138:3001/api/"; + static const OSS_URL = "http://144.123.43.138:3001"; + // static const BASE_URL = "http://192.168.60.220:8001/api/"; + // static const OSS_URL = "http://192.168.60.220:8001"; static const DOMAIN_NAME = "山矿通"; static const DEBUG = true; static const PRIVACY_POLICY = 'http://h5.heeru.xyz/privacyPolicy.html'; static const TERM_OF_USER = 'http://h5.heeru.xyz/termConditions.html'; static const APPLE_STORE_PAGE = 'https://apps.apple.com/cn/app'; static const DIO_TIMEOUT = 10; + static const SUPPORT_PHONE = '18661983080'; } diff --git a/lib/screens/new_inventory_inout/components/inventory_search.dart b/lib/screens/new_inventory_inout/components/inventory_search.dart index 9d70e70..050d0a1 100644 --- a/lib/screens/new_inventory_inout/components/inventory_search.dart +++ b/lib/screens/new_inventory_inout/components/inventory_search.dart @@ -412,7 +412,7 @@ class InventorySearch extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - '${itemData.product?.name}${itemData.product?.productSpecification != '' ? '(${itemData.product?.productSpecification})' : ''}', + '${itemData.product?.name}${itemData.product?.productSpecification != '' ? '(${itemData.product?.productSpecification ?? ''})' : ''}', style: TextStyle(fontSize: ScreenAdaper.height(30)), ), Text( diff --git a/pubspec.yaml b/pubspec.yaml index 6a248a6..2128cbc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.devz # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.2+1 +version: 1.0.3+1 environment: sdk: '>=3.2.6 <4.0.0'