mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	chore: update element-plus lastest
This commit is contained in:
		
							parent
							
								
									28eb447de7
								
							
						
					
					
						commit
						b18654f52e
					
				@ -28,7 +28,7 @@
 | 
				
			|||||||
    "cropperjs": "^1.5.11",
 | 
					    "cropperjs": "^1.5.11",
 | 
				
			||||||
    "dayjs": "^1.10.6",
 | 
					    "dayjs": "^1.10.6",
 | 
				
			||||||
    "echarts": "^5.1.2",
 | 
					    "echarts": "^5.1.2",
 | 
				
			||||||
    "element-plus": "1.1.0-beta.18",
 | 
					    "element-plus": "1.1.0-beta.19",
 | 
				
			||||||
    "element-resize-detector": "^1.2.3",
 | 
					    "element-resize-detector": "^1.2.3",
 | 
				
			||||||
    "font-awesome": "^4.7.0",
 | 
					    "font-awesome": "^4.7.0",
 | 
				
			||||||
    "lodash-es": "^4.17.21",
 | 
					    "lodash-es": "^4.17.21",
 | 
				
			||||||
 | 
				
			|||||||
@ -5,6 +5,7 @@
 | 
				
			|||||||
      <h4>{{ settings.title }}</h4>
 | 
					      <h4>{{ settings.title }}</h4>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <el-menu
 | 
					    <el-menu
 | 
				
			||||||
 | 
					      ref="menu"
 | 
				
			||||||
      :default-active="activeMenu"
 | 
					      :default-active="activeMenu"
 | 
				
			||||||
      unique-opened
 | 
					      unique-opened
 | 
				
			||||||
      router
 | 
					      router
 | 
				
			||||||
@ -82,6 +83,7 @@ import {
 | 
				
			|||||||
import { useI18n } from "vue-i18n";
 | 
					import { useI18n } from "vue-i18n";
 | 
				
			||||||
import settings from "/@/settings";
 | 
					import settings from "/@/settings";
 | 
				
			||||||
import { emitter } from "/@/utils/mitt";
 | 
					import { emitter } from "/@/utils/mitt";
 | 
				
			||||||
 | 
					import { templateRef } from "@vueuse/core";
 | 
				
			||||||
import SidebarItem from "./sidebarItem.vue";
 | 
					import SidebarItem from "./sidebarItem.vue";
 | 
				
			||||||
import { algorithm } from "/@/utils/algorithm";
 | 
					import { algorithm } from "/@/utils/algorithm";
 | 
				
			||||||
import screenfull from "../screenfull/index.vue";
 | 
					import screenfull from "../screenfull/index.vue";
 | 
				
			||||||
@ -134,6 +136,7 @@ export default defineComponent({
 | 
				
			|||||||
  setup() {
 | 
					  setup() {
 | 
				
			||||||
    const instance =
 | 
					    const instance =
 | 
				
			||||||
      getCurrentInstance().appContext.config.globalProperties.$storage;
 | 
					      getCurrentInstance().appContext.config.globalProperties.$storage;
 | 
				
			||||||
 | 
					    const menuRef = templateRef<ElRef | null>("menu", null);
 | 
				
			||||||
    const routeStore = usePermissionStoreHook();
 | 
					    const routeStore = usePermissionStoreHook();
 | 
				
			||||||
    const route = useRoute();
 | 
					    const route = useRoute();
 | 
				
			||||||
    const router = useRouter();
 | 
					    const router = useRouter();
 | 
				
			||||||
@ -199,14 +202,13 @@ export default defineComponent({
 | 
				
			|||||||
    function translationCh() {
 | 
					    function translationCh() {
 | 
				
			||||||
      instance.locale = { locale: "zh" };
 | 
					      instance.locale = { locale: "zh" };
 | 
				
			||||||
      locale.value = "zh";
 | 
					      locale.value = "zh";
 | 
				
			||||||
      window.location.reload();
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // English
 | 
					    // English
 | 
				
			||||||
    function translationEn() {
 | 
					    function translationEn() {
 | 
				
			||||||
      instance.locale = { locale: "en" };
 | 
					      instance.locale = { locale: "en" };
 | 
				
			||||||
      locale.value = "en";
 | 
					      locale.value = "en";
 | 
				
			||||||
      window.location.reload();
 | 
					      menuRef.value.handleResize();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
 | 
				
			|||||||
@ -1763,10 +1763,10 @@ electron-to-chromium@^1.3.830:
 | 
				
			|||||||
  resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.840.tgz#3f2a1df97015d9b1db5d86a4c6bd4cdb920adcbb"
 | 
					  resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.840.tgz#3f2a1df97015d9b1db5d86a4c6bd4cdb920adcbb"
 | 
				
			||||||
  integrity sha512-yRoUmTLDJnkIJx23xLY7GbSvnmDCq++NSuxHDQ0jiyDJ9YZBUGJcrdUqm+ZwZFzMbCciVzfem2N2AWiHJcWlbw==
 | 
					  integrity sha512-yRoUmTLDJnkIJx23xLY7GbSvnmDCq++NSuxHDQ0jiyDJ9YZBUGJcrdUqm+ZwZFzMbCciVzfem2N2AWiHJcWlbw==
 | 
				
			||||||
 | 
					
 | 
				
			||||||
element-plus@1.1.0-beta.18:
 | 
					element-plus@1.1.0-beta.19:
 | 
				
			||||||
  version "1.1.0-beta.18"
 | 
					  version "1.1.0-beta.19"
 | 
				
			||||||
  resolved "https://registry.npmjs.org/element-plus/-/element-plus-1.1.0-beta.18.tgz#eb16d091004a618002c75ed87299208f6dbf662e"
 | 
					  resolved "https://registry.yarnpkg.com/element-plus/-/element-plus-1.1.0-beta.19.tgz#234f3bc3f1d822a7102045e7ee1239b675f27acc"
 | 
				
			||||||
  integrity sha512-Q2cscYlpcbq/enuU/vlPLBP5K4bHkPakF6IkCiDrSgOkAr7XQYMem6QUOCRZ/8PFV0UnJRMyPJ7Xt0PKTFi8mg==
 | 
					  integrity sha512-eKJId8un12eoaL88lfLMBtDxRUJfrAQP3bav9p2QG2agOXu3cvYDGBtT773P0ZEm3/97t+itRbxYIYYLV4iNeQ==
 | 
				
			||||||
  dependencies:
 | 
					  dependencies:
 | 
				
			||||||
    "@popperjs/core" "^2.10.1"
 | 
					    "@popperjs/core" "^2.10.1"
 | 
				
			||||||
    "@vueuse/core" "~6.1.0"
 | 
					    "@vueuse/core" "~6.1.0"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user