fix: all in one

This commit is contained in:
2023-04-15 15:25:33 +08:00
parent b2627a6b62
commit ebecea5d89
69 changed files with 36903 additions and 35905 deletions

BIN
packages/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{
"name": "@lishican/antbank-platform-hooks",
"version": "0.0.4",
"version": "0.0.5",
"description": "",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
@@ -28,5 +28,6 @@
"antd": "^5.4.2",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
}
},
"gitHead": "b2627a6b62138d5dff798892c30f464370146f13"
}

View File

@@ -2,7 +2,7 @@ import { useEffect } from 'react';
const useTask = () => {
useEffect(() => {
console.log('useTask');
console.log('useTask31231');
}, []);
};
export default useTask;

View File

@@ -7,7 +7,6 @@ export default defineConfig({
input: "src",
platform: "browser",
transformer:"esbuild"
},
extraBabelPlugins: [

View File

@@ -1,6 +1,6 @@
{
"name": "@lishican/antbank-platform-ui",
"version": "0.0.4",
"version": "0.0.5",
"description": "",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
@@ -22,7 +22,8 @@
},
"devDependencies": {
"@babel/runtime": "^7.12.5",
"father": "^4.1.8"
"father": "^4.1.8",
"less": "^4.1.3"
},
"peerDependencies": {
"antd": "^5.4.2",
@@ -30,7 +31,9 @@
"react-dom": ">=16.9.0"
},
"dependencies": {
"@lishican/antbank-platform-hooks": "^0.0.4",
"@lishican/antbank-platform-hooks": "^0.0.5",
"@lishican/antbank-platform-ui": "^0.0.5",
"styled-components": "^5.3.9"
}
},
"gitHead": "b2627a6b62138d5dff798892c30f464370146f13"
}

View File

@@ -1,4 +1,5 @@
import { useTask } from '@lishican/antbank-platform-hooks';
import { Button } from 'antd';
import React from 'react';
import './index.less';
@@ -11,8 +12,8 @@ const HelloWorld: React.FC<any> = () => {
useTask();
return (
<div>
<Button type="primary">3332</Button>
<h3 className='red'>2131</h3>
<Button type="primary">ok</Button>
{/* <h3 className='red'>red</h3> */}
</div>
);
};