Преглед на файлове

1、智能弹窗添加拼多多授权提示

tags/0.0.15+8^0
PH2 преди 3 години
родител
ревизия
119b38fd1f
променени са 1 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. +9
    -1
      lib/dialog/global_dialog/intellect_search_goods_dialog/intellect_search_goods_dialog.dart

+ 9
- 1
lib/dialog/global_dialog/intellect_search_goods_dialog/intellect_search_goods_dialog.dart Целия файл

@@ -7,6 +7,7 @@ import 'package:zhiying_comm/util/turn_chain/turn_chain_util.dart';
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/has_goods_dialog_style_model.dart';
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/model/intellect_dialog_data_model.dart';
import 'package:zhiying_comm/zhiying_comm.dart';
import 'package:zhiying_comm/util/pdd_auth/pdd_auth.dart';

class IntellectSearchGoodsDialog extends StatefulWidget {
final IntellectDialogDataModel model;
@@ -387,7 +388,14 @@ class _IntellectSearchGoodsDialogState
Navigator.pop(context);
}
if (!isAuth) return;
}else{
} else if (tempProvider == GlobalConfig.PROVIDER_PDD) { /// 拼多多
bool isNeedAuth = await PddAuth.auth(context, isShare: '0');
///关闭弹窗
if (Navigator.canPop(context)) {
Navigator.pop(context);
}
if (isNeedAuth) return;
} else{
///关闭弹窗
if (Navigator.canPop(context)) {
Navigator.pop(context);


Зареждане…
Отказ
Запис