From 44ad220cdd7eb3c967a4ccac0b2e5b0c0e22738e Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 29 五月 2022 21:40:32 +0800 Subject: [PATCH] 使用Pinia代替Vuex进行数据存储 --- package.json | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f7193d5..5fbdb40 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "license": "MIT", "scripts": { "dev": "vite", - "build:prod": "vite build", + "build:prod": "vite build", "build:stage": "vite build --mode staging", "preview": "vite preview" }, @@ -25,10 +25,10 @@ "js-cookie": "3.0.1", "jsencrypt": "3.2.1", "nprogress": "0.2.0", + "pinia": "2.0.14", "vue": "3.2.31", "vue-cropper": "1.0.3", - "vue-router": "4.0.14", - "vuex": "4.0.2" + "vue-router": "4.0.14" }, "devDependencies": { "@vitejs/plugin-vue": "2.3.3", -- Gitblit v1.9.3