@titaui/pc 1.16.33 → 1.16.34
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.
|
@@ -379,15 +379,14 @@ var MBlog = /*#__PURE__*/function (_PureComponent) {
|
|
|
379
379
|
var submitStatus = newProps.submitStatus;
|
|
380
380
|
var localStroageKey = this.state.localStroageKey;
|
|
381
381
|
|
|
382
|
-
if (submitStatus === 1) {
|
|
383
|
-
//
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
localStorage.removeItem(localStroageKey);
|
|
382
|
+
if (submitStatus === 1) {// 发送成功,清空内容
|
|
383
|
+
// this.setState({
|
|
384
|
+
// textareaValue: '',
|
|
385
|
+
// uploadSuccessFilesPath: [],
|
|
386
|
+
// isSendSMS: false,
|
|
387
|
+
// isAllowSubmit: false,
|
|
388
|
+
// })
|
|
389
|
+
// localStorage.removeItem(localStroageKey)
|
|
391
390
|
}
|
|
392
391
|
} // 获取输入框显示内容
|
|
393
392
|
|