@bdsoft/element 1.1.4 → 1.1.5

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