From dbb5c5d2bc0d420a39e3939cbc98e5d7d6b08e11 Mon Sep 17 00:00:00 2001 From: zhangtao <1176193409@qq.com> Date: Thu, 7 Jul 2022 09:05:56 +0800 Subject: [PATCH] pinia --- package.json | 1 + src/components/Search/index.vue | 2 +- src/store/index.js | 5 ++++- src/store/modules/user.js | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a96051a..22ada18 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dayjs": "^1.11.2", "mockjs": "^1.1.0", "pinia": "^2.0.13", + "pinia-persistedstate-plugin": "^0.1.0", "tinymce": "^5.10.2", "vue": "^3.2.16", "vue-router": "^4.0.14", diff --git a/src/components/Search/index.vue b/src/components/Search/index.vue index 3746bbc..7a1bcac 100644 --- a/src/components/Search/index.vue +++ b/src/components/Search/index.vue @@ -29,7 +29,7 @@