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