ci-plus 1.8.0 → 1.8.2
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/README.md +0 -1
- package/index.ts +1 -1
- package/package.json +8 -2
- package/src/utils/Dayjs.ts +6 -4
- package/src/utils/index.ts +0 -2
package/README.md
CHANGED
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ci-plus",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "ci组件库",
|
|
5
5
|
"main": "./index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"vue-i18n": "
|
|
23
|
+
"vue-i18n": ">=11.0.0",
|
|
24
|
+
"less": ">=4.0.0",
|
|
25
|
+
"element-plus": ">=2.7.0",
|
|
26
|
+
"vite-plugin-svg-icons": ">=2.0.0",
|
|
27
|
+
"sortablejs": ">=1.0.0",
|
|
28
|
+
"lodash": ">=4.10.0",
|
|
29
|
+
"lodash-es": ">=4.10.0"
|
|
24
30
|
},
|
|
25
31
|
"devDependencies": {},
|
|
26
32
|
"peerDependencies": {},
|
package/src/utils/Dayjs.ts
CHANGED
|
@@ -24,8 +24,10 @@
|
|
|
24
24
|
// return dayjs(date).format(geshi)
|
|
25
25
|
// }
|
|
26
26
|
let dayjs = 2
|
|
27
|
-
export const setDate = () => {
|
|
27
|
+
export const setDate = (val) => {
|
|
28
|
+
return val
|
|
29
|
+
}
|
|
28
30
|
// 格式化日期时间
|
|
29
|
-
export const setDateTime = () => {
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
export const setDateTime = (val) => {
|
|
32
|
+
return val
|
|
33
|
+
}
|
package/src/utils/index.ts
CHANGED
|
@@ -6,7 +6,6 @@ import withInstall from './withinstall/index'
|
|
|
6
6
|
import { cardPrint, setCardList } from './cardPrint'
|
|
7
7
|
import apis from './baseApi'
|
|
8
8
|
import { setDate, setDateTime } from './Dayjs'
|
|
9
|
-
import dayjs from './Dayjs'
|
|
10
9
|
import ajaxBox from './ajaxBox' // 处理文件下载方法
|
|
11
10
|
import getAffiliationOptions from './getAffiliationOptions' // 处理文件下载方法
|
|
12
11
|
|
|
@@ -18,7 +17,6 @@ let func = {
|
|
|
18
17
|
setDateTime,
|
|
19
18
|
getAffiliationOptions,
|
|
20
19
|
apis,
|
|
21
|
-
dayjs,
|
|
22
20
|
ajaxBox
|
|
23
21
|
}
|
|
24
22
|
// 导出 所有方法
|