@bdsoft/element 1.1.2 → 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,7 @@
|
|
|
1
1
|
import * as ElementPlus from 'element-plus'
|
|
2
|
-
import
|
|
2
|
+
import * as dayjsModule from 'dayjs'
|
|
3
|
+
const dayjs = dayjsModule.default || dayjsModule;
|
|
4
|
+
|
|
3
5
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
4
6
|
window.ElementPlus = ElementPlus
|
|
5
7
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bdsoft/element",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.1.
|
|
3
|
+
"description": "内部UI组件",
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@element-plus/icons-vue": "^2.3.2",
|
|
14
|
+
"dayjs": "^1.11.19",
|
|
14
15
|
"element-plus": "2.13.1",
|
|
15
16
|
"splitpanes": "4.0.4"
|
|
16
17
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
<script setup>
|
|
50
50
|
import { ref, computed } from 'vue';
|
|
51
|
-
import
|
|
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({
|