perf: replace tooltip content when reload is unavailable
This commit is contained in:
parent
b823f18794
commit
e071e65701
|
@ -469,7 +469,7 @@ const calcLayerMenu = (loading) => {
|
|||
return [
|
||||
// reload layer enable only full loaded
|
||||
h(IconButton, {
|
||||
tTooltip: props.fullLoaded ? 'interface.reload' : 'interface.reload',
|
||||
tTooltip: props.fullLoaded ? 'interface.reload' : 'interface.reload_disable',
|
||||
icon: Refresh,
|
||||
loading: loading === true,
|
||||
disabled: !props.fullLoaded,
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
"view_as": "View As",
|
||||
"decode_with": "Decode / Decompression",
|
||||
"reload": "Reload",
|
||||
"reload_disable": "Reload will enable after full loaded",
|
||||
"open_connection": "Open Connection",
|
||||
"copy_path": "Copy Path",
|
||||
"copy_key": "Copy Key",
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
"view_as": "查看方式",
|
||||
"decode_with": "解码/解压方式",
|
||||
"reload": "重新载入",
|
||||
"reload_disable": "全量加载后可重新载入",
|
||||
"open_connection": "打开连接",
|
||||
"copy_path": "复制路径",
|
||||
"copy_key": "复制键名",
|
||||
|
|
Loading…
Reference in New Issue