fix: remove the event stack from app store and watch for duration and utc changes (#489)

This commit is contained in:
Fine0830
2025-08-08 18:11:39 +08:00
committed by GitHub
parent 7be45e6ad1
commit e885b61353
5 changed files with 18 additions and 62 deletions

View File

@@ -118,8 +118,8 @@ limitations under the License. -->
}
}
async function getEndpoints(id?: string) {
const resp = await eventStore.getEndpoints(id);
async function getEndpoints() {
const resp = await eventStore.getEndpoints();
if (!resp) {
return;
}
@@ -129,8 +129,8 @@ limitations under the License. -->
}
state.endpoint = eventStore.endpoints[0];
}
async function getInstances(id?: string) {
const resp = await eventStore.getInstances(id);
async function getInstances() {
const resp = await eventStore.getInstances();
if (resp.errors) {
ElMessage.error(resp.errors);
return;