瀏覽代碼

feat:聚合分析界面,优化启动读取

ChenYL 2 年之前
父節點
當前提交
647a85e6d4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/ui/AggAnalyseModeAndView.py

+ 2 - 2
src/ui/AggAnalyseModeAndView.py

@@ -31,9 +31,9 @@ class AggAnalyseModeAndView(QWidget, Ui_Form):
         # 获取历史使用记录
         self.configPath = conf['path']['aggConfig']
         self.config = utils.load_json(self.configPath)
-        if self.config and self.config['targetFilePath']:
+        if self.config:
             self.targetFilePath.setText(self.config['targetFilePath'])
-        self.load()
+            self.load()
 
     def bind(self):
         self.selectFileBtn.clicked.connect(self.selectFile)