@bdsoft/element 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -19,7 +19,7 @@ window.ElementPlusIconVue = ElementPlusIconsVue
19
19
  import LoadComponent from './src/utils/coms/load.jsx'
20
20
  // 自定义的所有组件
21
21
  import * as components from './src/index.js'
22
- debugger
22
+
23
23
  // 定义 useElement 为 Vue 插件
24
24
  const useElement = {
25
25
  install(app, options = {}) {
@@ -30,7 +30,7 @@ const useElement = {
30
30
  }
31
31
 
32
32
  // 安装 ElementPlus
33
- app.use(ElementPlus, {
33
+ app.use(options.ElementPlus, {
34
34
  locale: zhCn,
35
35
  zIndex: 3000
36
36
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bdsoft/element",
3
3
  "description": "内部UI组件",
4
- "version": "1.1.19",
4
+ "version": "1.1.20",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "peerDependencies": {