@jiangood/springboot-admin-starter 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -16,6 +16,7 @@
16
16
  "axios": "^1.13.2",
17
17
  "bpmn-js": "^18.7.0",
18
18
  "bpmn-js-properties-panel": "^5.43.0",
19
+ "preact": "^10.27.2",
19
20
  "dayjs": "^1.11.13",
20
21
  "jsencrypt": "^3.5.4",
21
22
  "lodash": "^4.17.21",
@@ -31,11 +32,7 @@
31
32
  "config/dist/*"
32
33
  ],
33
34
  "main": "src/index.ts",
34
- "version": "0.0.5",
35
- "dependencies": {
36
- "preact": "^10.27.2",
37
- "preact-hooks": "0.0.0-0.0.0"
38
- },
35
+ "version": "0.0.6",
39
36
  "scripts": {
40
37
  "dev": "umi dev",
41
38
  "build": "tsc --outDir config/dist --skipLibCheck --noEmitOnError false config/index.ts"
@@ -2,7 +2,14 @@
2
2
  import React from "react";
3
3
 
4
4
  declare type PageProps = {
5
+ /**
6
+ * 是否有内边距
7
+ */
5
8
  padding?: boolean;
9
+
10
+ /**
11
+ * 背景色
12
+ */
6
13
  backgroundGray?:boolean;
7
14
  };
8
15
 
@@ -1,39 +1,18 @@
1
1
  import React from 'react'
2
- import {Button} from "antd";
3
- import {ButtonList, HttpUtils, Page, ProTable} from "../../framework";
2
+ import {Button, Flex} from "antd";
4
3
 
5
4
  export default class extends React.Component {
6
5
 
7
- state = {
8
- status: {}
9
- }
10
6
 
11
7
 
12
8
  render() {
13
- return <Page padding>
14
-
15
- <ProTable
16
- toolBarRender={() => <Button type='primary'
17
- target='_blank'
18
- href={"/ureport/designer"}>打开设计器</Button>}
19
-
20
- request={(params) => HttpUtils.get('admin/ureport/page', params)}
21
- columns={[
22
- {title: "文件名称", dataIndex: 'name'},
23
- {title: "存储器", dataIndex: 'providerName'},
24
- {title: "存储器前缀", dataIndex: 'providerPrefix'},
25
- {title: "更新时间", dataIndex: 'updateDate'},
26
- {title: "-", dataIndex: 'option',
27
- render(_,record){
28
- return <ButtonList >
29
- <Button size='small' perm='ureport:view' href={record.previewUrl} target='_blank'>预览</Button>
30
- <Button size='small' perm='ureport:design' href={record.designerUrl} target='_blank'>设计</Button>
31
- </ButtonList>
32
- }},
33
- ]}></ProTable>
34
-
35
-
36
- </Page>
9
+ return <div style={{display:'flex',alignItems:'center',justifyContent:'center'}}>
10
+
11
+
12
+ <Button type='primary' href='/ureport/designer'>打开设计器</Button>
13
+
14
+
15
+ </div>
37
16
  }
38
17
 
39
18
 
Binary file