@bdsoft/element 1.1.22 → 1.1.23

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.
package/index.js CHANGED
@@ -83,7 +83,7 @@ export { useElement }
83
83
  // 功能 showwarning, showsuccess, showerror, showconfirm
84
84
  export * from './src/utils/message.js'
85
85
  export * from './src/utils/index.js'
86
- export * from './src/global/index.ts'
86
+ // export * from './src/global/index.ts'
87
87
  export * from './src/utils/hookDialog.js'
88
88
  export * from './src/utils/hookPage.js' // 分页hook函数
89
89
  // export { dayjs }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bdsoft/element",
3
3
  "description": "内部UI组件",
4
- "version": "1.1.22",
4
+ "version": "1.1.23",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "peerDependencies": {
@@ -1,6 +0,0 @@
1
- import { App } from 'vue'
2
- import registerProperties from './register-properties'
3
-
4
- export function globalRegister(app: App): void {
5
- app.use(registerProperties)
6
- }
@@ -1,10 +0,0 @@
1
- import { App } from 'vue'
2
-
3
- import { showsuccess, showerror, showwarning, showinfo } from '../utils/message.js'
4
- // App是用来确定类型
5
- export default function registerProperties(app: App) {
6
- app.config.globalProperties.showsuccess = showsuccess
7
- app.config.globalProperties.showerror = showerror
8
- app.config.globalProperties.showwarning = showwarning
9
- app.config.globalProperties.showinfo = showinfo
10
- }