feature/2.15.1.2407.01-社保档案保存校验
This commit is contained in:
parent
dfcd27771f
commit
55d39d6523
|
|
@ -104,7 +104,7 @@ class Index extends Component {
|
|||
API[id ? "updateScheme" : "createScheme"](payload).then(({ status, data, errormsg }) => {
|
||||
this.setState({ loading: false });
|
||||
if (status) {
|
||||
if (data.indexOf("\n") !== -1 && id) {
|
||||
if (id && Object.prototype.toString.call(data) === "[object String]" && data.indexOf("\n") !== -1) {
|
||||
this.setState({
|
||||
baseValidateDialog: {
|
||||
visible: true, baseChangeInfo: data,
|
||||
|
|
|
|||
Loading…
Reference in New Issue