diff --git a/frontend/src/components/stock.vue b/frontend/src/components/stock.vue index c47c397..0aab8f3 100644 --- a/frontend/src/components/stock.vue +++ b/frontend/src/components/stock.vue @@ -463,7 +463,7 @@ function blinkBorder(findId){ const element = document.getElementById(findId); if (element) { // 滚动到该元素 - element.scrollIntoView({ behavior: 'smooth' }); + element.scrollIntoView({ behavior: 'smooth'}); const pelement = document.getElementById(findId +'_gi'); if(pelement){ // 添加闪烁效果 @@ -888,6 +888,9 @@ function saveTabPane(){ AddGroup(addTabModel.value).then(result => { message.info(result) addTabPane.value=false + GetGroupList().then(result => { + groupList.value=result + }) }) } function AddStockGroupInfo(groupId,code,name){ @@ -956,8 +959,8 @@ function delStockGroup(code,name,groupId){ - - + + @@ -972,7 +975,7 @@ function delStockGroup(code,name,groupId){ - + {{"最高 "+result["今日最高价"]+" "+result.highRate }}%