crane icon indicating copy to clipboard operation
crane copied to clipboard

Cost Analysis related list, after loading once, switching list again will not load the latest data

Open lbbniu opened this issue 2 years ago • 2 comments

Describe the bug Cost Analysis related list, after loading once, switching list again will not load the latest data, continuous switching in a short period of time 成本优化相关列表,加载一次后,再次切换列表不加载最新数据,短期内连续切换

Reproduce steps image image

Expected behavior

Screenshots

Environment (please complete the following information):

  • K8S Version: v1.25.4
  • Crane Version: v0.10.0
  • Browser chrome

lbbniu avatar May 12 '23 10:05 lbbniu

@zsnmwy looks like it related to tdesign framework? Do we need to change it or it has a refresh interval?

qmhu avatar May 15 '23 03:05 qmhu

@zsnmwy looks like it related to tdesign framework? Do we need to change it or it has a refresh interval?

Add the fetch data action to the React lifecycle that should be resolved.

zsnmwy avatar May 15 '23 06:05 zsnmwy