lowcode-cli 1.1.2 → 1.1.5

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # lowcode-cli 组件脚手架
1
+ # lowcode-cli Icode脚手脚
2
2
 
3
3
  ## 安装到全局
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lowcode-cli",
3
- "version": "1.1.2",
3
+ "version": "1.1.5",
4
4
  "description": "Icode脚手脚",
5
5
  "scripts": {
6
6
  "antdcss": "lessc --js --modify-var='ant-prefix=custom' ./node_modules/antd/dist/antd.variable.less modified.css"
@@ -46,6 +46,7 @@
46
46
  "happypack": "^5.0.1",
47
47
  "html-webpack-plugin": "^5.0.0-alpha.14",
48
48
  "import-remote-module": "^1.0.1",
49
+ "less": "^3.13.1",
49
50
  "less-loader": "^5.0.0",
50
51
  "lodash": "^4.17.21",
51
52
  "mini-css-extract-plugin": "^1.6.0",
@@ -76,9 +77,7 @@
76
77
  "webpack-dev-server": "^3.11.0",
77
78
  "webpack-node-externals": "^2.5.2"
78
79
  },
79
- "devDependencies": {
80
- "less": "^3.13.1"
81
- },
80
+ "devDependencies": {},
82
81
  "keywords": [
83
82
  "lowcode"
84
83
  ],
@@ -10,13 +10,11 @@ import { Router, Route, Switch } from 'dva/router';
10
10
  import MyLayout from './layouts/index';
11
11
  import routerData from '@layout/router';
12
12
  import { app } from './myDva';
13
- import zhCN from 'antd/es/locale/zh_CN';
14
13
  import './style.less';
15
- import { ConfigProvider } from 'antd';
16
- import auth from './models/auth';
14
+ //import auth from './models/auth';
17
15
 
18
16
  // 2. Model
19
- app.model(auth);
17
+ // app.model(auth);
20
18
 
21
19
  // 4. Router
22
20
  app.router(history => {
@@ -5,8 +5,6 @@
5
5
  */
6
6
  import React, { PureComponent } from 'react';
7
7
  import { addFullScreenEvent, removeFullScreenEvent } from 'auto-full-screen';
8
- import { connect } from 'dva';
9
- import { Layout, Spin } from 'antd';
10
8
 
11
9
  class MyLayout extends PureComponent {
12
10
  componentDidMount() {
@@ -18,14 +16,9 @@ class MyLayout extends PureComponent {
18
16
  }
19
17
 
20
18
  render() {
21
- const { location, children, authModel } = this.props;
22
- return authModel.isBuilding ? <Spin spinning={true} tip="生成页面中...">
23
- <div style={{height: '100vh', width: '100vw'}}></div>
24
- </Spin> : children
19
+ const { location, children } = this.props;
20
+ return children
25
21
  }
26
22
  }
27
23
 
28
-
29
- export default connect(({ authModel }) => ({
30
- authModel,
31
- }))(MyLayout);
24
+ export default MyLayout;