Browse Source

release: update `3.9.7`

i18n
xiaoxian521 2 years ago
parent
commit
1508afa7c3
  1. 2
      package.json
  2. 4
      public/serverConfig.json
  3. 3
      src/views/permission/page/index.vue

2
package.json

@ -1,6 +1,6 @@
{
"name": "pure-admin-thin",
"version": "3.9.6",
"version": "3.9.7",
"private": true,
"scripts": {
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",

4
public/serverConfig.json

@ -1,5 +1,5 @@
{
"Version": "3.9.6",
"Version": "3.9.7",
"Title": "PureAdmin",
"FixedHeader": true,
"HiddenSideBar": false,
@ -17,6 +17,6 @@
"ShowLogo": true,
"ShowModel": "smart",
"MenuArrowIconNoTransition": true,
"CachingAsyncRoutes": true,
"CachingAsyncRoutes": false,
"TooltipEffect": "light"
}

3
src/views/permission/page/index.vue

@ -1,5 +1,6 @@
<script setup lang="ts">
import { initRouter } from "@/router/utils";
import { storageSession } from "@pureadmin/utils";
import { type CSSProperties, ref, computed } from "vue";
import { useUserStoreHook } from "@/store/modules/user";
import { usePermissionStoreHook } from "@/store/modules/permission";
@ -33,7 +34,7 @@ function onChange() {
.loginByUsername({ username: username.value, password: "admin123" })
.then(res => {
if (res.success) {
sessionStorage.removeItem("async-routes");
storageSession().removeItem("async-routes");
usePermissionStoreHook().clearAllCachePage();
initRouter();
}

Loading…
Cancel
Save