@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.
- package/lib/components/book-demo/components/pc/components/checkbox/index.css +5 -0
- package/lib/components/book-demo/components/pc/components/checkbox/index.js +2 -2
- package/lib/components/book-demo/components/pc/components/content/index.js +2 -1
- package/lib/components/follower-visitor/index.css +3 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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: #
|
|
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
|
|