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