Update src/store/modules/event.ts

Co-authored-by: Fine0830 <fanxue0830@gmail.com>
This commit is contained in:
吴晟 Wu Sheng 2023-08-09 09:53:42 +08:00 committed by GitHub
parent 87037e0abc
commit 80b7d6e521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ export const eventStore = defineStore({
const res: AxiosResponse = await graphql.query("queryEndpoints").params({
serviceId,
duration: useAppStoreWithOut().durationTime,
keyword: keyword || '',
keyword: keyword || "",
});
if (res.data.errors) {
return res.data;