@bdsoft/element 1.1.3 → 1.1.4

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
@@ -1,5 +1,6 @@
1
1
  import * as ElementPlus from 'element-plus'
2
- import * as dayjs from 'dayjs'
2
+ import * as dayjsModule from 'dayjs'
3
+ const dayjs = dayjsModule.default || dayjsModule;
3
4
 
4
5
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
5
6
  window.ElementPlus = ElementPlus
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bdsoft/element",
3
3
  "description": "内部UI组件",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -48,7 +48,7 @@
48
48
 
49
49
  <script setup>
50
50
  import { ref, computed } from 'vue';
51
- import * as dayjs from 'dayjs'
51
+ import dayjs from 'dayjs'
52
52
  import BdEmpty from '../../components/empty/empty.vue'
53
53
  // 接收父组件传递的里程碑数据 const bgColor = ref('#0ea5e9') // 0ea5e9
54
54
  const props = defineProps({