From c3b3f7d30a3834e5e37cc51e7806bc9f2a81fce0 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期五, 18 十月 2024 17:41:40 +0800 Subject: [PATCH] 修复一些bug --- _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def index 10c1fc2..d5da9f6 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def @@ -5,11 +5,17 @@ #keys: '[413988.0.1495640258]' CanBindMultiple: false DefinitionID: 'Responsedef_WebMenu_OnClick' + Precondition: + [* + return not isnull( MacroPlan ) and not isnull( InterfaceDataset ); + *] QuillAction { Body: [* - InterfacePlanInventoryDataPush::GenerateData( MacroPlan, InterfaceDataset ); + InterfacePlanInventoryDataPush::GenerateData( MacroPlan, InterfaceDataset, Number::Random( 0, 1 ) ); + + WebMessageBox::Success( "鎺ㄩ�佹垚鍔燂紒" ); *] GroupServerCalls: false } -- Gitblit v1.9.3