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 +1 -4
- package/package.json +1 -1
- package/src/utils/Dayjs.ts +1 -1
- package/src/utils/baseApi.ts +1 -2
- package/src/utils/index.ts +3 -1
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.
|
|
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
package/src/utils/Dayjs.ts
CHANGED
package/src/utils/baseApi.ts
CHANGED
|
@@ -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
|
|
package/src/utils/index.ts
CHANGED
|
@@ -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 };
|