refactor(instance): migrate from name-based to ID-based instance management

feat(instanceDetail): add instance status display and restart && stop/start control

- Change instance identification from name to ID in API endpoints and routes
- Add instance status management functionality with start/stop/restart
- Implement user type checks for instance operations
- Update UI to reflect instance status changes
- Remove completed TODO notes for implemented APIs
This commit is contained in:
2026-03-24 12:36:21 +08:00
parent 5b7c866eb3
commit 7fdf62da7a
5 changed files with 241 additions and 49 deletions

View File

@@ -114,7 +114,7 @@ export default {
onMounted(() => {
checkStatus();
getSoftwareInfo();
setInterval(checkStatus, 5000);
setInterval(checkStatus, 60000);
document.addEventListener('click', closeMenu);
});