From 25186188acbbb34bd82cc91f2433b09d69ea06eb Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Wed, 10 Nov 2021 12:00:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E9=A4=90=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/store/store_order.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/store/store_order.dart b/lib/store/store_order.dart index a5b1dc56..a094cf8d 100644 --- a/lib/store/store_order.dart +++ b/lib/store/store_order.dart @@ -1,6 +1,5 @@ import 'dart:convert'; -import 'package:ai_decimal_accuracy/ai_decimal_accuracy.dart'; import 'package:dio/dio.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; @@ -558,7 +557,9 @@ class _StoreOrderPage extends State "numberOfPeople": numberOfPeople, }, ); - getParentInfo(); + if(tableId >0){ + getParentInfo(); + } queryShopCar().then((value) { this.shopCarGoods = value; setState(() {});