diff --git a/JdShopListener/JdShopListener/MainWindowViewModel.cs b/JdShopListener/JdShopListener/MainWindowViewModel.cs index 656c75a..878dbc7 100644 --- a/JdShopListener/JdShopListener/MainWindowViewModel.cs +++ b/JdShopListener/JdShopListener/MainWindowViewModel.cs @@ -216,6 +216,13 @@ namespace JdShopListener /// public void Add() { + + if (IsStart !=false) + { + MessageBox.Show("采集中不可操作!"); + return; + } + if (IsAdd) return; @@ -362,6 +369,12 @@ namespace JdShopListener /// public void Start() { + if (IsAdd) + { + MessageBox.Show("请等待添加完成之后操作!"); + return; + } + if (IsStart==false) { IsStart = true;