浏览代码

read videos in mainStore.ts

tomoya 2 年之前
父节点
当前提交
23de191b5b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      frontend/src/stores/main.ts

+ 1 - 0
frontend/src/stores/main.ts

@@ -32,6 +32,7 @@ export const useMainStore = defineStore("MainStoreId", {
     readToken: (state) => state.token,
     readIsLoggedIn: (state) => state.isLoggedIn,
     readFirstNotification: (state) => state.notifications.length > 0 && state.notifications[0],
+    readVideos: (state) => state.videos,
   },
 
   actions: {