@titaui/pc 1.9.138 → 1.9.141
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.
|
@@ -178,7 +178,12 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
|
|
|
178
178
|
if (res.data.Code) {
|
|
179
179
|
(0, _request.sendBookDemoJson)((0, _utils.bookDemoTransformDataToJson)(result, source > 0 ? source : Source, _constant.DemoTypeTextMap[type], content));
|
|
180
180
|
|
|
181
|
-
_toast["default"].Success("提交成功"
|
|
181
|
+
_toast["default"].Success("提交成功", {
|
|
182
|
+
style: {
|
|
183
|
+
position: "fixed"
|
|
184
|
+
},
|
|
185
|
+
canClose: false
|
|
186
|
+
});
|
|
182
187
|
|
|
183
188
|
if (onSubmitSuccess) {
|
|
184
189
|
onSubmitSuccess();
|
|
@@ -188,12 +193,22 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
|
|
|
188
193
|
} else {
|
|
189
194
|
setErrMsg(res.data.Message);
|
|
190
195
|
|
|
191
|
-
_toast["default"].Warning(res.data.Message
|
|
196
|
+
_toast["default"].Warning(res.data.Message, {
|
|
197
|
+
style: {
|
|
198
|
+
position: "fixed"
|
|
199
|
+
},
|
|
200
|
+
canClose: false
|
|
201
|
+
});
|
|
192
202
|
}
|
|
193
203
|
|
|
194
204
|
handelChangeImage();
|
|
195
205
|
})["catch"](function (error) {
|
|
196
|
-
_toast["default"].Error(error
|
|
206
|
+
_toast["default"].Error(error, {
|
|
207
|
+
style: {
|
|
208
|
+
position: "fixed"
|
|
209
|
+
},
|
|
210
|
+
canClose: false
|
|
211
|
+
});
|
|
197
212
|
})["finally"](function () {
|
|
198
213
|
var content = _constant.trackerInfo[type];
|
|
199
214
|
setIsLoading(false);
|
|
@@ -80,6 +80,12 @@ var BookDemoVerifyCode = function BookDemoVerifyCode(_ref) {
|
|
|
80
80
|
var handelChangeImage = function handelChangeImage() {
|
|
81
81
|
var yzm = renderCode();
|
|
82
82
|
setYzmGuid(yzm);
|
|
83
|
+
setInputValue("");
|
|
84
|
+
onChange(name, id, "", true, {
|
|
85
|
+
yzm: yzm,
|
|
86
|
+
handelChangeImage: handelChangeImage,
|
|
87
|
+
setErrMsg: setErrMsg
|
|
88
|
+
});
|
|
83
89
|
};
|
|
84
90
|
|
|
85
91
|
var handleChangeInputValue = function handleChangeInputValue(e) {
|