@titaui/pc 1.9.124 → 1.9.128

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.
@@ -43,6 +43,11 @@
43
43
  color: #3f4755;
44
44
  }
45
45
 
46
+ .titaui-book-demo-checkbox__options-item:hover {
47
+ border: 1px solid #2879ff;
48
+ color: #2879ff;
49
+ }
50
+
46
51
  .titaui-book-demo-checkbox__options-item--selected {
47
52
  border: 1px solid #2879ff;
48
53
  color: #2879ff;
@@ -68,12 +68,12 @@ var BookDemoCheckbox = function BookDemoCheckbox(_ref) {
68
68
  var result = [];
69
69
 
70
70
  if (!multiSelect) {
71
- setHasErr(required && result.length === 0);
72
71
  result.push(selectedId);
72
+ setHasErr(false);
73
73
  setValue(result);
74
74
 
75
75
  if (onChange) {
76
- onChange(name, id, result, required && result.length === 0);
76
+ onChange(name, id, result, false);
77
77
  }
78
78
 
79
79
  return;
@@ -174,11 +174,12 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
174
174
  onSubmitSuccess();
175
175
  localStorage.setItem("isSubmitted", "1");
176
176
  } else {
177
- handelChangeImage();
178
177
  setErrMsg(res.data.Message);
179
178
 
180
179
  _toast["default"].Warning(res.data.Message);
181
180
  }
181
+
182
+ handelChangeImage();
182
183
  })["catch"](function (error) {
183
184
  _toast["default"].Error(error);
184
185
  })["finally"](function () {
@@ -8,7 +8,7 @@
8
8
  height: 36px;
9
9
  margin: 0 auto;
10
10
  font-size: 14px;
11
- background: #FFF4D6;
11
+ background: #fff4d6;
12
12
  box-shadow: 0px 4px 16px 0px rgba(127, 145, 180, 0.2);
13
13
  border-radius: 18px;
14
14
  font-weight: 400;
@@ -32,6 +32,8 @@
32
32
  }
33
33
 
34
34
  .titaui-follower-visitor__info-wrapper {
35
+ display: inline-flex;
36
+ align-items: center;
35
37
  margin-right: 16px;
36
38
  }
37
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.9.124",
3
+ "version": "1.9.128",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",