fix: 修复

This commit is contained in:
2023-04-19 03:55:24 +08:00
parent c70bd748bf
commit 774922bbd4
18 changed files with 56 additions and 29938 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "bkloan-sg",
"name": "bkloan-gl",
"author": "lishican <1213782659@qq.com>",
"scripts": {
"build": "umi build",

View File

@@ -1,12 +1,11 @@
import { defineConfig } from 'umi';
export default defineConfig({
routes: [
{ path: '/', component: 'index' },
],
routes: [{ path: '/', component: 'index' }],
npmClient: 'npm',
monorepoRedirect: {
peerDeps: true,
exclude: [/node_modules/],
},
plugins: ['@umijs/plugins/dist/qiankun'],
qiankun: {

File diff suppressed because it is too large Load Diff

View File

@@ -26,8 +26,7 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@lishican/antbank-platform-hooks": "workspace:^0.0.1",
"@lishican/antbank-platform-ui": "workspace:^0.0.1",
"@lishican/antbank-platform-ui": "workspace:*",
"antd": "^5.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View File

@@ -1,13 +1,10 @@
import { useTask } from '@lishican/antbank-platform-hooks';
import Test from '@lishican/antbank-platform-ui';
import { MicroApp } from 'umi';
import styles from './index.less';
export default function HomePage() {
useTask()
return (
<div>
<h2 className={styles.red2}>Yay! Welcome to2 umi!</h2>
<Test />
<Test name4="2131" age3='2131' />
</div>
);
}
}

View File

@@ -1,3 +1,3 @@
{
"extends": "./src/.umi/tsconfig.json"
"extends": "./src/.umi/tsconfig.json",
}