发布 0.1.0:通知渠道、告警规则与多项体验修复
CI / test (push) Successful in 27s
Release / release (push) Successful in 26s

This commit is contained in:
Wang Defa
2026-07-10 17:31:19 +08:00
parent 9d0c116ce3
commit 5464d2dfea
68 changed files with 1604 additions and 359 deletions
+1 -4
View File
@@ -6,7 +6,6 @@ interface SerialTarget {
instanceId: string
region?: string
instanceName?: string
rootPassword?: string
}
/** 全局串行控制台面板状态:面板挂在 AppLayout,切换路由不销毁会话 */
@@ -16,7 +15,6 @@ export const useConsoleStore = defineStore('console', () => {
const instanceId = ref('')
const region = ref<string | undefined>(undefined)
const instanceName = ref('')
const rootPassword = ref('')
/** 打开串行终端;已开着且换了实例时先关旧会话再开新 */
async function openSerial(target: SerialTarget) {
@@ -29,7 +27,6 @@ export const useConsoleStore = defineStore('console', () => {
instanceId.value = target.instanceId
region.value = target.region
instanceName.value = target.instanceName ?? ''
rootPassword.value = target.rootPassword ?? ''
show.value = true
}
@@ -37,5 +34,5 @@ export const useConsoleStore = defineStore('console', () => {
show.value = false
}
return { show, cfgId, instanceId, region, instanceName, rootPassword, openSerial, close }
return { show, cfgId, instanceId, region, instanceName, openSerial, close }
})