ci-plus 1.2.3 → 1.2.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.ts CHANGED
@@ -1,14 +1,11 @@
1
1
  import * as components from './src/index';
2
2
  export * from './src/index';
3
3
  import { App } from 'vue';
4
-
5
4
  import { default as Fn } from './src/utils';
6
- console.log('Fn123: ', Fn,);
7
-
8
5
  export default {
9
6
  install: (app: App) => {
10
7
  // 注册所有组件
11
- console.log('注册所有ci-plus组件1.2.3: ');
8
+ console.log('注册所有ci-plus组件1.2.4: ');
12
9
  for (const c in components) {
13
10
  app.use(components[c]);
14
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ci-plus",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "ci组件库",
5
5
  "main": "./index.ts",
6
6
  "scripts": {
@@ -24,4 +24,4 @@ export const setDateTime = (
24
24
  return dayjs(date).format(geshi)
25
25
  }
26
26
 
27
- export default { dayjs }
27
+ export default dayjs
@@ -5,9 +5,8 @@
5
5
  * @版本 : 1.0.0
6
6
  * @创建时间 : 创建时间 2024-01-05 13:17:56
7
7
  */
8
- import { store } from '@ice/stark-data'
8
+ import { store } from '@ice/stark-data' // 导入飞冰微服务主应用的函数
9
9
  const apis = store.get('APIs')['1.1.1']
10
- console.log('apis???: ', apis);
11
10
  export default apis
12
11
 
13
12
 
@@ -5,6 +5,8 @@ export { default as withInstall } from './withinstall/index';
5
5
  import withInstall from './withinstall/index';
6
6
  import { cardPrint, setCardList } from "./cardPrint";
7
7
  import apis from "./baseApi";
8
+ import { setDate, setDateTime } from "./Dayjs";
9
+ import dayjs from "./Dayjs";
8
10
 
9
11
  // 导出 cardPrint 和 apis
10
- export default { apis, cardPrint, setCardList, withInstall };
12
+ export default { apis, cardPrint, setCardList, withInstall, dayjs, setDate, setDateTime };