mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	perf: update
This commit is contained in:
		
							parent
							
								
									747e2b9c1c
								
							
						
					
					
						commit
						e9602d23cb
					
				@ -64,7 +64,7 @@
 | 
			
		||||
    "rgb-hex": "^4.0.0",
 | 
			
		||||
    "swiper": "^8.1.4",
 | 
			
		||||
    "v-contextmenu": "3.0.0",
 | 
			
		||||
    "vue": "^3.2.34",
 | 
			
		||||
    "vue": "^3.2.35",
 | 
			
		||||
    "vue-form-create2": "^1.2.8",
 | 
			
		||||
    "vue-i18n": "^9.2.0-beta.35",
 | 
			
		||||
    "vue-json-pretty": "^2.0.2",
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5866
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										5866
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -17,7 +17,7 @@ const isDashboard = (route: RouteLocationMatched): boolean | string => {
 | 
			
		||||
  if (!name) {
 | 
			
		||||
    return false;
 | 
			
		||||
  }
 | 
			
		||||
  return name.trim().toLocaleLowerCase() === "welcome".toLocaleLowerCase();
 | 
			
		||||
  return name.trim().toLocaleLowerCase() === "Welcome".toLocaleLowerCase();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const getBreadcrumb = (): void => {
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@ const Layout = () => import("/@/layout/index.vue");
 | 
			
		||||
 | 
			
		||||
const homeRouter = {
 | 
			
		||||
  path: "/",
 | 
			
		||||
  name: "home",
 | 
			
		||||
  name: "Home",
 | 
			
		||||
  component: Layout,
 | 
			
		||||
  redirect: "/welcome",
 | 
			
		||||
  meta: {
 | 
			
		||||
@ -14,7 +14,7 @@ const homeRouter = {
 | 
			
		||||
  children: [
 | 
			
		||||
    {
 | 
			
		||||
      path: "/welcome",
 | 
			
		||||
      name: "welcome",
 | 
			
		||||
      name: "Welcome",
 | 
			
		||||
      component: () => import("/@/views/welcome/index.vue"),
 | 
			
		||||
      meta: {
 | 
			
		||||
        title: $t("menus.hshome")
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@ function ascending(arr: any[]) {
 | 
			
		||||
  arr.forEach(v => {
 | 
			
		||||
    if (v?.meta?.rank === null) v.meta.rank = undefined;
 | 
			
		||||
    if (v?.meta?.rank === 0) {
 | 
			
		||||
      if (v.name !== "home" && v.path !== "/") {
 | 
			
		||||
      if (v.name !== "Home" && v.path !== "/") {
 | 
			
		||||
        console.warn("rank only the home page can be 0");
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -3,6 +3,10 @@ import { ReGithub, ReInfinite, RePie, ReLine, ReBar } from "./components";
 | 
			
		||||
import { ref, computed } from "vue";
 | 
			
		||||
import avatars from "/@/assets/avatars.jpg";
 | 
			
		||||
 | 
			
		||||
defineOptions({
 | 
			
		||||
  name: "Welcome"
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const date: Date = new Date();
 | 
			
		||||
let loading = ref<boolean>(true);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user