merge(project): merge soybean 1.3.14

This commit is contained in:
xlsea 2025-06-10 09:46:43 +08:00
commit 94f183e7b5
12 changed files with 1380 additions and 910 deletions

View File

@ -57,7 +57,7 @@
"@sa/materials": "workspace:*", "@sa/materials": "workspace:*",
"@sa/tinymce": "workspace:*", "@sa/tinymce": "workspace:*",
"@sa/utils": "workspace:*", "@sa/utils": "workspace:*",
"@vueuse/core": "13.1.0", "@vueuse/core": "13.3.0",
"clipboard": "2.0.11", "clipboard": "2.0.11",
"dayjs": "1.11.13", "dayjs": "1.11.13",
"defu": "6.1.4", "defu": "6.1.4",
@ -66,42 +66,42 @@
"jsencrypt": "^3.3.2", "jsencrypt": "^3.3.2",
"json5": "2.2.3", "json5": "2.2.3",
"monaco-editor": "^0.52.0", "monaco-editor": "^0.52.0",
"naive-ui": "2.41.0", "naive-ui": "2.41.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"pinia": "3.0.2", "pinia": "3.0.3",
"tailwind-merge": "3.2.0", "tailwind-merge": "3.3.0",
"vue": "3.5.13", "vue": "3.5.16",
"vue-advanced-cropper": "^2.8.9", "vue-advanced-cropper": "^2.8.9",
"vue-draggable-plus": "0.6.0", "vue-draggable-plus": "0.6.0",
"vue-i18n": "11.1.3", "vue-i18n": "11.1.5",
"vue-router": "4.5.1" "vue-router": "4.5.1"
}, },
"devDependencies": { "devDependencies": {
"@elegant-router/vue": "0.3.8", "@elegant-router/vue": "0.3.8",
"@iconify/json": "2.2.337", "@iconify/json": "2.2.347",
"@sa/scripts": "workspace:*", "@sa/scripts": "workspace:*",
"@sa/uno-preset": "workspace:*", "@sa/uno-preset": "workspace:*",
"@soybeanjs/eslint-config": "1.6.0", "@soybeanjs/eslint-config": "1.6.1",
"@types/node": "22.15.17", "@types/node": "22.15.30",
"@types/nprogress": "0.2.3", "@types/nprogress": "0.2.3",
"@unocss/eslint-config": "66.1.1", "@unocss/eslint-config": "66.1.4",
"@unocss/preset-icons": "66.1.1", "@unocss/preset-icons": "66.1.4",
"@unocss/preset-uno": "66.1.1", "@unocss/preset-uno": "66.1.4",
"@unocss/transformer-directives": "66.1.1", "@unocss/transformer-directives": "66.1.4",
"@unocss/transformer-variant-group": "66.1.1", "@unocss/transformer-variant-group": "66.1.4",
"@unocss/vite": "66.1.1", "@unocss/vite": "66.1.4",
"@vitejs/plugin-vue": "5.2.4", "@vitejs/plugin-vue": "5.2.4",
"@vitejs/plugin-vue-jsx": "4.1.2", "@vitejs/plugin-vue-jsx": "4.2.0",
"consola": "3.4.2", "consola": "3.4.2",
"eslint": "9.26.0", "eslint": "9.28.0",
"eslint-plugin-vue": "10.1.0", "eslint-plugin-vue": "10.2.0",
"kolorist": "1.8.0", "kolorist": "1.8.0",
"sass": "1.88.0", "sass": "1.89.1",
"simple-git-hooks": "2.13.0", "simple-git-hooks": "2.13.0",
"tsx": "4.19.4", "tsx": "4.19.4",
"typescript": "5.8.3", "typescript": "5.8.3",
"unplugin-icons": "22.1.0", "unplugin-icons": "22.1.0",
"unplugin-vue-components": "28.5.0", "unplugin-vue-components": "28.7.0",
"vite": "6.3.5", "vite": "6.3.5",
"vite-plugin-monaco-editor": "^1.1.0", "vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-progress": "0.0.7", "vite-plugin-progress": "0.0.7",

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/alova", "name": "@sa/alova",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts", ".": "./src/index.ts",
"./fetch": "./src/fetch.ts", "./fetch": "./src/fetch.ts",
@ -13,8 +13,8 @@
} }
}, },
"dependencies": { "dependencies": {
"@alova/mock": "2.0.14", "@alova/mock": "2.0.16",
"@sa/utils": "workspace:*", "@sa/utils": "workspace:*",
"alova": "3.2.10" "alova": "3.3.0"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/axios", "name": "@sa/axios",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },
@ -16,6 +16,6 @@
"qs": "6.14.0" "qs": "6.14.0"
}, },
"devDependencies": { "devDependencies": {
"@types/qs": "6.9.18" "@types/qs": "6.14.0"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/color", "name": "@sa/color",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/hooks", "name": "@sa/hooks",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/materials", "name": "@sa/materials",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/fetch", "name": "@sa/fetch",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/scripts", "name": "@sa/scripts",
"version": "1.3.13", "version": "1.3.14",
"bin": { "bin": {
"sa": "./bin.ts" "sa": "./bin.ts"
}, },
@ -14,12 +14,12 @@
}, },
"devDependencies": { "devDependencies": {
"@soybeanjs/changelog": "0.3.24", "@soybeanjs/changelog": "0.3.24",
"bumpp": "10.1.0", "bumpp": "10.1.1",
"c12": "3.0.3", "c12": "3.0.4",
"cac": "6.7.14", "cac": "6.7.14",
"consola": "3.4.2", "consola": "3.4.2",
"enquirer": "2.4.1", "enquirer": "2.4.1",
"execa": "9.5.3", "execa": "9.6.0",
"kolorist": "1.8.0", "kolorist": "1.8.0",
"npm-check-updates": "18.0.1", "npm-check-updates": "18.0.1",
"rimraf": "6.0.1" "rimraf": "6.0.1"

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/uno-preset", "name": "@sa/uno-preset",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@sa/utils", "name": "@sa/utils",
"version": "1.3.13", "version": "1.3.14",
"exports": { "exports": {
".": "./src/index.ts" ".": "./src/index.ts"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,7 @@ import { clearAuthStorage, getToken } from './shared';
export const useAuthStore = defineStore(SetupStoreId.Auth, () => { export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
const route = useRoute(); const route = useRoute();
const authStore = useAuthStore();
const routeStore = useRouteStore(); const routeStore = useRouteStore();
const tabStore = useTabStore(); const tabStore = useTabStore();
const { toLogin, redirectFromLogin } = useRouterPush(false); const { toLogin, redirectFromLogin } = useRouterPush(false);
@ -37,8 +38,6 @@ export const useAuthStore = defineStore(SetupStoreId.Auth, () => {
/** Reset auth store */ /** Reset auth store */
async function resetStore() { async function resetStore() {
const authStore = useAuthStore();
recordUserId(); recordUserId();
clearAuthStorage(); clearAuthStorage();