feat(frontend): 更新关注列表并优化关注功能

- 修复了关注后不能点击成本的bug
This commit is contained in:
浓睡不消残酒 2025-06-13 17:00:54 +08:00
parent 338e371190
commit 1185af5a87

View File

@ -226,7 +226,7 @@ onMounted(() => {
GetFollowList(currentGroupId.value).then(result => {
followList.value = result
followList.value = result
for (const followedStock of result) {
if(followedStock.StockCode.startsWith("us")){
followedStock.StockCode="gb_"+ followedStock.StockCode.replace("us", "").toLowerCase()
@ -459,6 +459,9 @@ function AddStock(){
if(result==="关注成功"){
stocks.value.push(data.code)
message.success(result)
GetFollowList(currentGroupId.value).then(result => {
followList.value = result
})
monitor();
}else{
message.error(result)