diff --git a/elk/web/index.html b/elk/web/index.html
index 36d099221798bd0dd6a08e6b48715ca51523d5a5..1f3105abc3880de38f67fd57d06d2b6c3dedae1e 100644
--- a/elk/web/index.html
+++ b/elk/web/index.html
@@ -2,9 +2,9 @@
-
+
- Vite + Vue + TS
+ ELK
diff --git a/elk/web/package.json b/elk/web/package.json
index 8aeb6099427d51a7e9c33388801f8d63ea00e799..4126e2f73d32966938b640bdb2767dc7f9b293bc 100644
--- a/elk/web/package.json
+++ b/elk/web/package.json
@@ -13,6 +13,7 @@
"axios": "^1.7.2",
"element-plus": "^2.7.5",
"pinia": "^2.1.7",
+ "pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.21",
"vue-router": "^4.3.3"
},
diff --git a/elk/web/public/logo.png b/elk/web/public/logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..8f0d4794ab25c753b0d66d563ad9e21a3171de17
Binary files /dev/null and b/elk/web/public/logo.png differ
diff --git a/elk/web/src/store/index.ts b/elk/web/src/store/index.ts
new file mode 100644
index 0000000000000000000000000000000000000000..5619a066dfde61f09a062245acde15c159803425
--- /dev/null
+++ b/elk/web/src/store/index.ts
@@ -0,0 +1,6 @@
+// store数据持久化
+import { createPinia } from 'pinia'
+import piniaPersisted from 'pinia-plugin-persistedstate'
+const pinia = createPinia();
+pinia.use(piniaPersisted);
+export default pinia;
\ No newline at end of file
diff --git a/elk/web/yarn.lock b/elk/web/yarn.lock
index 2b3cfa290abc3254ee3c5619ead9d595eb240cd2..76fac7e00519e62e4b1c6370b08862c0684973da 100644
--- a/elk/web/yarn.lock
+++ b/elk/web/yarn.lock
@@ -730,6 +730,11 @@ pify@^4.0.1:
resolved "https://registry.npmmirror.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==
+pinia-plugin-persistedstate@^3.2.1:
+ version "3.2.1"
+ resolved "https://registry.npmmirror.com/pinia-plugin-persistedstate/-/pinia-plugin-persistedstate-3.2.1.tgz#66780602aecd6c7b152dd7e3ddc249a1f7a13fe5"
+ integrity sha512-MK++8LRUsGF7r45PjBFES82ISnPzyO6IZx3CH5vyPseFLZCk1g2kgx6l/nW8pEBKxxd4do0P6bJw+mUSZIEZUQ==
+
pinia@^2.1.7:
version "2.1.7"
resolved "https://registry.npmmirror.com/pinia/-/pinia-2.1.7.tgz#4cf5420d9324ca00b7b4984d3fbf693222115bbc"