ci-plus 1.2.1 → 1.2.3
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 +3 -3
- package/package.json +1 -1
- package/src/utils/index.ts +8 -2
package/index.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as components from './src/index';
|
|
|
2
2
|
export * from './src/index';
|
|
3
3
|
import { App } from 'vue';
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
console.log('
|
|
5
|
+
import { default as Fn } from './src/utils';
|
|
6
|
+
console.log('Fn123: ', Fn,);
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
9
|
install: (app: App) => {
|
|
10
10
|
// 注册所有组件
|
|
11
|
-
console.log('注册所有ci-plus组件1.2.
|
|
11
|
+
console.log('注册所有ci-plus组件1.2.3: ');
|
|
12
12
|
for (const c in components) {
|
|
13
13
|
app.use(components[c]);
|
|
14
14
|
}
|
package/package.json
CHANGED
package/src/utils/index.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export { default as withInstall } from './withinstall/index';
|
|
2
2
|
|
|
3
|
-
export { default as setCardList } from './cardPrint'; // 导入默认的导出
|
|
4
|
-
export * from './cardPrint'; // 导入所有导出(不包含默认导出)
|
|
3
|
+
// export { default as setCardList } from './cardPrint'; // 导入默认的导出
|
|
4
|
+
// export * from './cardPrint'; // 导入所有导出(不包含默认导出)
|
|
5
|
+
import withInstall from './withinstall/index';
|
|
6
|
+
import { cardPrint, setCardList } from "./cardPrint";
|
|
7
|
+
import apis from "./baseApi";
|
|
8
|
+
|
|
9
|
+
// 导出 cardPrint 和 apis
|
|
10
|
+
export default { apis, cardPrint, setCardList, withInstall };
|