Compare commits

...

4 Commits

Author SHA1 Message Date
Lykin cd36dbda48 doc: update README 2024-01-12 00:55:06 +08:00
Lykin 56bc609420 chore: update dependencies 2024-01-12 00:00:32 +08:00
Lykin dbff8f9e79 perf: select key when right click in browser tree 2024-01-11 23:55:03 +08:00
Lykin 1a6756905d fix: add default value for auto refresh interval #116 2024-01-11 22:16:13 +08:00
8 changed files with 123 additions and 114 deletions

View File

@ -1,9 +1,9 @@
<h4 align="right"><strong>English</strong> | <a href="https://github.com/tiny-craft/tiny-rdm/blob/main/README_zh.md">
简体中文</a></h4>
<div align="center">
<a href="https://github.com/tiny-craft/tiny-rdm/"><img src="build/appicon.png" width="120"/></a>
</div>
<h1 align="center">Tiny RDM</h1>
<h4 align="center"><strong>English</strong> | <a href="https://github.com/tiny-craft/tiny-rdm/blob/main/README_zh.md">
简体中文</a></h4>
<div align="center">
[![License](https://img.shields.io/github/license/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/blob/main/LICENSE)
@ -91,6 +91,10 @@ wails dev
```
## About
### Wechat Official Account
<img src="docs/images/wechat_official.png" alt="wechat" width="360" />
### Sponsor
If this project helpful for you, feel free to buy me a cup of coffee ☕️.

View File

@ -1,8 +1,8 @@
<h4 align="right"><strong><a href="/">English</a></strong> | 简体中文</h4>
<div align="center">
<a href="https://github.com/tiny-craft/tiny-rdm/"><img src="build/appicon.png" width="120"/></a>
</div>
<h1 align="center">Tiny RDM</h1>
<h4 align="center"><strong><a href="/">English</a></strong> | 简体中文</h4>
<div align="center">
[![License](https://img.shields.io/github/license/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/blob/main/LICENSE)

View File

@ -14,7 +14,7 @@
"monaco-editor": "^0.45.0",
"pinia": "^2.1.7",
"sass": "^1.69.7",
"vue": "^3.4.8",
"vue": "^3.4.10",
"vue-i18n": "^9.9.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"
@ -877,36 +877,36 @@
}
},
"node_modules/@vue/compiler-core": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.8.tgz",
"integrity": "sha512-GjAwOydZV6UyVBi1lYW5v4jjfU6wOeyi3vBATKJOwV7muYF0/nZi4kfdJc0pwdT5lXwbbx57lyA2Y356rFpw1A==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.10.tgz",
"integrity": "sha512-53vxh7K9qbx+JILnGEhrFRyr7H7e4NdT8RuTNU3m6HhJKFvcAqFTNXpYMHnyuAzzRGdsbsYHBgQC3H6xEXTG6w==",
"dependencies": {
"@babel/parser": "^7.23.6",
"@vue/shared": "3.4.8",
"@vue/shared": "3.4.10",
"entities": "^4.5.0",
"estree-walker": "^2.0.2",
"source-map-js": "^1.0.2"
}
},
"node_modules/@vue/compiler-dom": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.8.tgz",
"integrity": "sha512-GsPyji42zmkSJlaDFKXvwB97ukTlHzlFH/iVzPFYz/APnSzuhu/CMFQbsYmrtsnc2yscF39eC4rKzvKR27aBug==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.10.tgz",
"integrity": "sha512-QAALBJksIFpXGYuo74rtMgnwpVZDvd3kYbUa4gYX9s/5QiqEvZSgbKtOdUGydXcxKPt3ifC+0/bhPVHXN2694A==",
"dependencies": {
"@vue/compiler-core": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-core": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"node_modules/@vue/compiler-sfc": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.8.tgz",
"integrity": "sha512-3ZcurOa6bQdZ6VZLtMqYSUZqpsMqfX0MC3oCxQG0VIJFCqouZAgRYJN1c8QvGs7HW5wW8aXVvUOQU0ILVlYHKA==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.10.tgz",
"integrity": "sha512-sTOssaQySgrMjrhZxmAqdp6n+E51VteIVIDaOR537H2P63DyzMmig21U0XXFxiXmMIfrK91lAInnc+bIAYemGw==",
"dependencies": {
"@babel/parser": "^7.23.6",
"@vue/compiler-core": "3.4.8",
"@vue/compiler-dom": "3.4.8",
"@vue/compiler-ssr": "3.4.8",
"@vue/shared": "3.4.8",
"@vue/compiler-core": "3.4.10",
"@vue/compiler-dom": "3.4.10",
"@vue/compiler-ssr": "3.4.10",
"@vue/shared": "3.4.10",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.5",
"postcss": "^8.4.32",
@ -914,12 +914,12 @@
}
},
"node_modules/@vue/compiler-ssr": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.8.tgz",
"integrity": "sha512-nxN79LHeAemhBpIa2PQ6rz57cW7W4C/XIJCOMSn2g49u6q2ekirmJI0osAOTErQPApOR0KwP2QyeTexX4zQCrw==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.10.tgz",
"integrity": "sha512-Y90TL1abretWbUiK5rv+9smS1thCHE5sSuhZgiLh6cxgZ2Pcy3BEvDd3reID0iwNcTdMbTeE6NI3Aq4Mux6hqQ==",
"dependencies": {
"@vue/compiler-dom": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-dom": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"node_modules/@vue/devtools-api": {
@ -928,29 +928,29 @@
"integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q=="
},
"node_modules/@vue/reactivity": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.8.tgz",
"integrity": "sha512-UJYMQ3S2rqIGw9IvKomD4Xw2uS5VlcKEEmwcfboGOdrI79oqebxnCgTvXWLMClvg3M5SF0Cyn+9eDQoyGMLu9Q==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.10.tgz",
"integrity": "sha512-SmGGpo37LzPcAFTopHNIJRNVOQfma9YgyPkAzx9/TJ01lbCCYigS28hEcY1hjiJ1PRK8iVX62Ov5yzmUgYH/pQ==",
"dependencies": {
"@vue/shared": "3.4.8"
"@vue/shared": "3.4.10"
}
},
"node_modules/@vue/runtime-core": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.8.tgz",
"integrity": "sha512-sMRXOy89KnwY6fWG5epgPOsCWzpo/64FrA0QkjIeNeGnoA2YyZ6bBUxpFUyqhJ8VbrDhXEFH+6LHMOYrpzX/ZQ==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.10.tgz",
"integrity": "sha512-Ri2Cz9sFr66AEUewGUK8IXhIUAhshTHVUGuJR8pqMbtjIds+zPa8QPO5UZImGMQ8HTY7eEpKwztCct9V3+Iqug==",
"dependencies": {
"@vue/reactivity": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/reactivity": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"node_modules/@vue/runtime-dom": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.8.tgz",
"integrity": "sha512-L4gZcYo8f3d7rQqQIHkPvyczkjjQ55cJqz2G0v6Ptmqa1mO2zkqN9F8lBT6aGPYy3hd0RDiINbs4jxhSvvy10Q==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.10.tgz",
"integrity": "sha512-ROsdi5M2niRDmjXJNZ8KKiGwXyG1FO8l9n6sCN0kaJEHbjWkuigu96YAI3fK/AWUZPSXXEcMEBVPC6rL3mmUuA==",
"dependencies": {
"@vue/runtime-core": "3.4.8",
"@vue/shared": "3.4.8",
"@vue/runtime-core": "3.4.10",
"@vue/shared": "3.4.10",
"csstype": "^3.1.3"
}
},
@ -960,21 +960,21 @@
"integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
},
"node_modules/@vue/server-renderer": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.8.tgz",
"integrity": "sha512-pBeHM59Owevr3P0Fl1XOjBmq4DTy5JDcjMG4NuzJEVDlZYzY8fHybx0wdjkY5lK5mCtUyBtw6Mz4d87aosc1Sw==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.10.tgz",
"integrity": "sha512-WpCBAhesLq44JKWfdFqb+Bi4ACUW0d8x1z90GnE0spccsAlEDMXV5nm+pwXLyW0OdP2iPrO/n/QMJh4B1v9Ciw==",
"dependencies": {
"@vue/compiler-ssr": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-ssr": "3.4.10",
"@vue/shared": "3.4.10"
},
"peerDependencies": {
"vue": "3.4.8"
"vue": "3.4.10"
}
},
"node_modules/@vue/shared": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.8.tgz",
"integrity": "sha512-ChLCWzXiJboQ009oVkemhEoUdrxHme7v3ip+Kh+/kDDeF1WtHWGt0knRLGm1Y4YqCRTSs9QxsZIY8paJj5Szrw=="
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.10.tgz",
"integrity": "sha512-C0mIVhwW1xQLMFyqMJxnhq6fWyE02lCgcE+TDdtGpg6B3H6kh/0YcqS54qYc76UJNlWegf3VgsLqgk6D9hBmzQ=="
},
"node_modules/acorn": {
"version": "8.11.2",
@ -2259,15 +2259,15 @@
}
},
"node_modules/vue": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.4.8.tgz",
"integrity": "sha512-vJffFOe6DqWsAI10v3tDhb1nJrj7CF3CbdQwOznywAsFNoyvrQ1AWQdcIWJpmRpRnw7NFzstzh6fh4w7n1PNdg==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.4.10.tgz",
"integrity": "sha512-c+O8qGqdWPF9joTCzMGeDDedViooh6c8RY3+eW5+6GCAIY8YjChmU06LsUu0PnMZbIk1oKUoJTqKzmghYtFypw==",
"dependencies": {
"@vue/compiler-dom": "3.4.8",
"@vue/compiler-sfc": "3.4.8",
"@vue/runtime-dom": "3.4.8",
"@vue/server-renderer": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-dom": "3.4.10",
"@vue/compiler-sfc": "3.4.10",
"@vue/runtime-dom": "3.4.10",
"@vue/server-renderer": "3.4.10",
"@vue/shared": "3.4.10"
},
"peerDependencies": {
"typescript": "*"
@ -2865,36 +2865,36 @@
"requires": {}
},
"@vue/compiler-core": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.8.tgz",
"integrity": "sha512-GjAwOydZV6UyVBi1lYW5v4jjfU6wOeyi3vBATKJOwV7muYF0/nZi4kfdJc0pwdT5lXwbbx57lyA2Y356rFpw1A==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.10.tgz",
"integrity": "sha512-53vxh7K9qbx+JILnGEhrFRyr7H7e4NdT8RuTNU3m6HhJKFvcAqFTNXpYMHnyuAzzRGdsbsYHBgQC3H6xEXTG6w==",
"requires": {
"@babel/parser": "^7.23.6",
"@vue/shared": "3.4.8",
"@vue/shared": "3.4.10",
"entities": "^4.5.0",
"estree-walker": "^2.0.2",
"source-map-js": "^1.0.2"
}
},
"@vue/compiler-dom": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.8.tgz",
"integrity": "sha512-GsPyji42zmkSJlaDFKXvwB97ukTlHzlFH/iVzPFYz/APnSzuhu/CMFQbsYmrtsnc2yscF39eC4rKzvKR27aBug==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.10.tgz",
"integrity": "sha512-QAALBJksIFpXGYuo74rtMgnwpVZDvd3kYbUa4gYX9s/5QiqEvZSgbKtOdUGydXcxKPt3ifC+0/bhPVHXN2694A==",
"requires": {
"@vue/compiler-core": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-core": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"@vue/compiler-sfc": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.8.tgz",
"integrity": "sha512-3ZcurOa6bQdZ6VZLtMqYSUZqpsMqfX0MC3oCxQG0VIJFCqouZAgRYJN1c8QvGs7HW5wW8aXVvUOQU0ILVlYHKA==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.10.tgz",
"integrity": "sha512-sTOssaQySgrMjrhZxmAqdp6n+E51VteIVIDaOR537H2P63DyzMmig21U0XXFxiXmMIfrK91lAInnc+bIAYemGw==",
"requires": {
"@babel/parser": "^7.23.6",
"@vue/compiler-core": "3.4.8",
"@vue/compiler-dom": "3.4.8",
"@vue/compiler-ssr": "3.4.8",
"@vue/shared": "3.4.8",
"@vue/compiler-core": "3.4.10",
"@vue/compiler-dom": "3.4.10",
"@vue/compiler-ssr": "3.4.10",
"@vue/shared": "3.4.10",
"estree-walker": "^2.0.2",
"magic-string": "^0.30.5",
"postcss": "^8.4.32",
@ -2902,12 +2902,12 @@
}
},
"@vue/compiler-ssr": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.8.tgz",
"integrity": "sha512-nxN79LHeAemhBpIa2PQ6rz57cW7W4C/XIJCOMSn2g49u6q2ekirmJI0osAOTErQPApOR0KwP2QyeTexX4zQCrw==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.10.tgz",
"integrity": "sha512-Y90TL1abretWbUiK5rv+9smS1thCHE5sSuhZgiLh6cxgZ2Pcy3BEvDd3reID0iwNcTdMbTeE6NI3Aq4Mux6hqQ==",
"requires": {
"@vue/compiler-dom": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-dom": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"@vue/devtools-api": {
@ -2916,29 +2916,29 @@
"integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q=="
},
"@vue/reactivity": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.8.tgz",
"integrity": "sha512-UJYMQ3S2rqIGw9IvKomD4Xw2uS5VlcKEEmwcfboGOdrI79oqebxnCgTvXWLMClvg3M5SF0Cyn+9eDQoyGMLu9Q==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.10.tgz",
"integrity": "sha512-SmGGpo37LzPcAFTopHNIJRNVOQfma9YgyPkAzx9/TJ01lbCCYigS28hEcY1hjiJ1PRK8iVX62Ov5yzmUgYH/pQ==",
"requires": {
"@vue/shared": "3.4.8"
"@vue/shared": "3.4.10"
}
},
"@vue/runtime-core": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.8.tgz",
"integrity": "sha512-sMRXOy89KnwY6fWG5epgPOsCWzpo/64FrA0QkjIeNeGnoA2YyZ6bBUxpFUyqhJ8VbrDhXEFH+6LHMOYrpzX/ZQ==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.10.tgz",
"integrity": "sha512-Ri2Cz9sFr66AEUewGUK8IXhIUAhshTHVUGuJR8pqMbtjIds+zPa8QPO5UZImGMQ8HTY7eEpKwztCct9V3+Iqug==",
"requires": {
"@vue/reactivity": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/reactivity": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"@vue/runtime-dom": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.8.tgz",
"integrity": "sha512-L4gZcYo8f3d7rQqQIHkPvyczkjjQ55cJqz2G0v6Ptmqa1mO2zkqN9F8lBT6aGPYy3hd0RDiINbs4jxhSvvy10Q==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.10.tgz",
"integrity": "sha512-ROsdi5M2niRDmjXJNZ8KKiGwXyG1FO8l9n6sCN0kaJEHbjWkuigu96YAI3fK/AWUZPSXXEcMEBVPC6rL3mmUuA==",
"requires": {
"@vue/runtime-core": "3.4.8",
"@vue/shared": "3.4.8",
"@vue/runtime-core": "3.4.10",
"@vue/shared": "3.4.10",
"csstype": "^3.1.3"
},
"dependencies": {
@ -2950,18 +2950,18 @@
}
},
"@vue/server-renderer": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.8.tgz",
"integrity": "sha512-pBeHM59Owevr3P0Fl1XOjBmq4DTy5JDcjMG4NuzJEVDlZYzY8fHybx0wdjkY5lK5mCtUyBtw6Mz4d87aosc1Sw==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.10.tgz",
"integrity": "sha512-WpCBAhesLq44JKWfdFqb+Bi4ACUW0d8x1z90GnE0spccsAlEDMXV5nm+pwXLyW0OdP2iPrO/n/QMJh4B1v9Ciw==",
"requires": {
"@vue/compiler-ssr": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-ssr": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"@vue/shared": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.8.tgz",
"integrity": "sha512-ChLCWzXiJboQ009oVkemhEoUdrxHme7v3ip+Kh+/kDDeF1WtHWGt0knRLGm1Y4YqCRTSs9QxsZIY8paJj5Szrw=="
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.10.tgz",
"integrity": "sha512-C0mIVhwW1xQLMFyqMJxnhq6fWyE02lCgcE+TDdtGpg6B3H6kh/0YcqS54qYc76UJNlWegf3VgsLqgk6D9hBmzQ=="
},
"acorn": {
"version": "8.11.2",
@ -3884,15 +3884,15 @@
}
},
"vue": {
"version": "3.4.8",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.4.8.tgz",
"integrity": "sha512-vJffFOe6DqWsAI10v3tDhb1nJrj7CF3CbdQwOznywAsFNoyvrQ1AWQdcIWJpmRpRnw7NFzstzh6fh4w7n1PNdg==",
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.4.10.tgz",
"integrity": "sha512-c+O8qGqdWPF9joTCzMGeDDedViooh6c8RY3+eW5+6GCAIY8YjChmU06LsUu0PnMZbIk1oKUoJTqKzmghYtFypw==",
"requires": {
"@vue/compiler-dom": "3.4.8",
"@vue/compiler-sfc": "3.4.8",
"@vue/runtime-dom": "3.4.8",
"@vue/server-renderer": "3.4.8",
"@vue/shared": "3.4.8"
"@vue/compiler-dom": "3.4.10",
"@vue/compiler-sfc": "3.4.10",
"@vue/runtime-dom": "3.4.10",
"@vue/server-renderer": "3.4.10",
"@vue/shared": "3.4.10"
}
},
"vue-i18n": {

View File

@ -15,7 +15,7 @@
"monaco-editor": "^0.45.0",
"pinia": "^2.1.7",
"sass": "^1.69.7",
"vue": "^3.4.8",
"vue": "^3.4.10",
"vue-i18n": "^9.9.0",
"xterm": "^5.3.0",
"xterm-addon-fit": "^0.8.0"

View File

@ -1 +1 @@
b7b4dcba7bae9a407221c4105139adcb
d8ea7df2e401b3a841c47e94dd1c20db

View File

@ -9,7 +9,7 @@ const props = defineProps({
tTooltip: String,
tooltipDelay: {
type: Number,
default: 1000,
default: 800,
},
type: String,
icon: [String, Object],

View File

@ -74,6 +74,10 @@ const startAutoRefresh = async () => {
return
}
autoRefresh.on = true
if (!isNaN(autoRefresh.interval)) {
autoRefresh.interval = 2
}
autoRefresh.interval = Math.min(autoRefresh.interval, 1)
let lastExec = Date.now()
do {
if (!autoRefresh.on) {
@ -167,6 +171,7 @@ const onTTL = () => {
<n-input-number
v-model:value="autoRefresh.interval"
:autofocus="false"
:default-value="2"
:disabled="autoRefresh.on"
:max="9999"
:min="1"

View File

@ -153,7 +153,7 @@ const menuOptions = {
],
}
const handleSelectContextMenu = (key) => {
const handleSelectContextMenu = (action) => {
contextMenuParam.show = false
const selectedKey = get(selectedKeys.value, 0)
if (selectedKey == null) {
@ -163,7 +163,7 @@ const handleSelectContextMenu = (key) => {
const { db = 0, key: nodeKey, redisKey: rk = '', redisKeyCode: rkc, label } = node || {}
const redisKey = rkc || rk
const redisKeyName = !!rkc ? label : redisKey
switch (key) {
switch (action) {
case 'key_newkey':
dialogStore.openNewKeyDialog(redisKey, props.server, db)
break
@ -226,7 +226,7 @@ const handleSelectContextMenu = (key) => {
break
case 'more_action':
default:
console.warn('TODO: handle context menu:' + key)
console.warn('TODO: handle context menu:' + action)
}
}
@ -501,7 +501,7 @@ const nodeProps = ({ option }) => {
contextMenuParam.x = e.clientX
contextMenuParam.y = e.clientY
contextMenuParam.show = true
// onUpdateSelectedKeys([option.key], [option])
onUpdateSelectedKeys([option.key], [option])
})
},
// onMouseover() {