File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
app-engine/frontend/src/pages/configForm/configUi/components Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,10 @@ const KnowledgeContainer = (props) => {
7474 const updateKnowledgeOption = ( groupId : String , knowledgeConfigId :String ) => {
7575 setGroupId ( groupId ) ;
7676 setKnowledgeConfigId ( knowledgeConfigId ) ;
77- if ( curGroupValue . current . groupId !== groupId ) {
78- curGroupValue . current . groupId = groupId ;
79- curGroupValue . current . knowledgeConfigId = knowledgeConfigId ;
80- graphOperator . update ( groupConfig , curGroupValue . current ) ;
81- updateData ( ) ;
82- }
77+ curGroupValue . current . groupId = groupId ;
78+ curGroupValue . current . knowledgeConfigId = knowledgeConfigId ;
79+ graphOperator . update ( groupConfig , curGroupValue . current ) ;
80+ updateData ( ) ;
8381 }
8482
8583 // 更新每一条是否存在
You can’t perform that action at this time.
0 commit comments