diff --git a/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/tf_graph_controls/components/tf_color_select/index.ts b/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/tf_graph_controls/components/tf_color_select/index.ts
index 7cb806a839f58b6385a85e5427b1bfb6216f4d53..888e50c673d0cc140756d29a26c00a0f073c83e4 100644
--- a/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/tf_graph_controls/components/tf_color_select/index.ts
+++ b/plugins/tensorboard-plugins/tb_graph_ascend/fe/src/tf_graph_controls/components/tf_color_select/index.ts
@@ -174,7 +174,9 @@ class Legend extends LegacyElementMixin(DarkModeMixin(PolymerElement)) {
@@ -438,7 +440,10 @@ class Legend extends LegacyElementMixin(DarkModeMixin(PolymerElement)) {
}
this.colorSetChanged = colorsets;
} else {
- return;
+ // 隐藏切换至精度溢出,隐藏精度筛选
+ this.set('_filterSetting', true);
+ // 隐藏切换按钮
+ this.set('hiddenTabChanged', false);
}
}
diff --git a/plugins/tensorboard-plugins/tb_graph_ascend/server/plugin.py b/plugins/tensorboard-plugins/tb_graph_ascend/server/plugin.py
index aea5b10913eea67d3900a3e47a779b3039d6f9fa..1b65fec85ab4c10266a5dc31ee2bd4d96677f76f 100644
--- a/plugins/tensorboard-plugins/tb_graph_ascend/server/plugin.py
+++ b/plugins/tensorboard-plugins/tb_graph_ascend/server/plugin.py
@@ -369,6 +369,9 @@ class GraphsPlugin(base_plugin.TBPlugin):
response_data['Colors'] = json_data.get('Colors', {})
if 'OverflowCheck' in json_data:
response_data['OverflowCheck'] = json_data.get('OverflowCheck', {})
+ else:
+ # 适配老数据
+ response_data['OverflowCheck'] = True
return http_util.Respond(request, response_data, "application/json")
# 设置新的精度误差颜色