Skip to content

Commit

Permalink
feat: update element-plus to up-to-date version
Browse files Browse the repository at this point in the history
  • Loading branch information
罗茜 committed Jul 24, 2023
1 parent 9112c91 commit 02b0659
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"codemirror": "^5.65.2",
"cropperjs": "^1.5.12",
"echarts": "^5.3.1",
"element-plus": "2.1.4",
"element-plus": "2.3.8",
"mockjs": "^1.1.0",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
Expand All @@ -31,10 +31,10 @@
"xlsx": "^0.18.3"
},
"devDependencies": {
"@webxrd/vite-plugin-svg": "^1.0.5",
"@types/node": "^17.0.21",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/compiler-sfc": "^3.2.31",
"@webxrd/vite-plugin-svg": "^1.0.5",
"eslint": "^8.11.0",
"sass": "^1.49.9",
"typescript": "^4.6.2",
Expand Down
6 changes: 3 additions & 3 deletions src/layout/Tabs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ export default defineComponent({
function setPosition() {
if (scrollbarDom.value) {
const domBox = {
scrollbar: scrollbarDom.value.scrollbar$.querySelector('.el-scrollbar__wrap ') as HTMLDivElement,
activeDom: scrollbarDom.value.scrollbar$.querySelector('.active') as HTMLDivElement,
activeFather: scrollbarDom.value.scrollbar$.querySelector('.el-scrollbar__view') as HTMLDivElement
scrollbar: scrollbarDom.value.wrapRef as HTMLDivElement,
activeDom: scrollbarDom.value.wrapRef.querySelector('.active') as HTMLDivElement,
activeFather: scrollbarDom.value.wrapRef.querySelector('.el-scrollbar__view') as HTMLDivElement
}
let hasDoms = true
Object.keys(domBox).forEach((dom) => {
Expand Down
2 changes: 1 addition & 1 deletion src/locale/modules/en.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import enLocale from 'element-plus/lib/locale/lang/en'
import enLocale from 'element-plus/dist/locale/en.mjs'
import system from './en/system'
import common from './en/common'
import menu from './en/menu'
Expand Down
2 changes: 1 addition & 1 deletion src/locale/modules/zh-cn.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import zhLocale from 'element-plus/lib/locale/lang/zh-cn'
import zhLocale from 'element-plus/dist/locale/zh-cn.mjs'
import system from './zh-cn/system'
import common from './zh-cn/common'
import menu from './zh-cn/menu'
Expand Down

0 comments on commit 02b0659

Please sign in to comment.