@zgfe/business-lib 1.1.58-pie.0 → 1.1.59-beta.0

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.
@@ -74,7 +74,7 @@ var BizAddToScene = function BizAddToScene(props) {
74
74
  notification.success({
75
75
  message: '添加成功'
76
76
  });
77
- if (props.onOk) props.onOk(res);
77
+ if (props.onOk) props.onOk(res.data);
78
78
  }
79
79
  }).catch(function () {
80
80
  setLoading(false);
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { Button, Divider, Radio, Space } from 'antd';
2
+ import React from 'react';
3
+ export default (function () {
4
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Radio.Group, {
5
+ defaultValue: "a",
6
+ buttonStyle: "solid"
7
+ }, /*#__PURE__*/React.createElement(Radio.Button, {
8
+ value: "a"
9
+ }, "Hangzhou"), /*#__PURE__*/React.createElement(Radio.Button, {
10
+ value: "b"
11
+ }, "Shanghai"), /*#__PURE__*/React.createElement(Radio.Button, {
12
+ value: "c"
13
+ }, "Beijing"), /*#__PURE__*/React.createElement(Radio.Button, {
14
+ value: "d"
15
+ }, "Chengdu")), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
16
+ type: "primary"
17
+ }, "Primary"), /*#__PURE__*/React.createElement(Button, null, "Default"), /*#__PURE__*/React.createElement(Button, {
18
+ type: "dashed"
19
+ }, "Dashed"), /*#__PURE__*/React.createElement(Button, {
20
+ type: "link"
21
+ }, "Link"), /*#__PURE__*/React.createElement(Button, {
22
+ type: "text"
23
+ }, "Text"), /*#__PURE__*/React.createElement(Button, {
24
+ type: "ghost"
25
+ }, "Ghost")), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
26
+ type: "primary",
27
+ danger: true
28
+ }, "Primary"), /*#__PURE__*/React.createElement(Button, {
29
+ danger: true
30
+ }, "Default"), /*#__PURE__*/React.createElement(Button, {
31
+ type: "dashed",
32
+ danger: true
33
+ }, "Dashed")));
34
+ });
@@ -477,10 +477,16 @@
477
477
  .ant-form-item-label > label {
478
478
  color: @text-color-secondary!important;
479
479
  }
480
-
480
+ // 按钮
481
481
  .ant-btn {
482
482
  border-radius: @border-radius-small!important;
483
483
  }
484
+ .ant-radio-button-wrapper:first-child {
485
+ border-radius: @border-radius-small 0 0 @border-radius-small;
486
+ }
487
+ .ant-radio-button-wrapper:last-child {
488
+ border-radius: 0 @border-radius-small @border-radius-small 0;
489
+ }
484
490
 
485
491
  .ant-btn-text {
486
492
  background-color: @background-color-gray!important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.58-pie.0",
3
+ "version": "1.1.59-beta.0",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.12.0 || ^17.0.0",
61
61
  "yorkie": "^2.0.0"
62
62
  },
63
- "gitHead": "e007e1034f1260445ddb2a8c3eedb9c8c7d7d3f1"
63
+ "gitHead": "a5592364408ba46ffd279cd653f567a755f865db"
64
64
  }