Эх сурвалжийг харах

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

ChenYL 2 жил өмнө
parent
commit
647a85e6d4

+ 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)