fix: all in one
This commit is contained in:
BIN
packages/.DS_Store
vendored
Normal file
BIN
packages/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -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"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useEffect } from 'react';
|
||||
|
||||
const useTask = () => {
|
||||
useEffect(() => {
|
||||
console.log('useTask');
|
||||
console.log('useTask31231');
|
||||
}, []);
|
||||
};
|
||||
export default useTask;
|
||||
|
||||
@@ -7,7 +7,6 @@ export default defineConfig({
|
||||
input: "src",
|
||||
platform: "browser",
|
||||
transformer:"esbuild"
|
||||
|
||||
},
|
||||
|
||||
extraBabelPlugins: [
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user