You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@beisen-platform/export-form

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

17

lib/index.js

@@ -292,5 +292,16 @@ import _extends from "@babel/runtime/helpers/extends";

}).then(function (resp) {
_this3.setState({
showLoading: false
});
if (parseInt(resp.code) !== 200) {
_this3.setState({
showLoading: false,
showTip: true,
tipInfo: {
infoType: 'error',
title: resp.message
}
});
} else {
_this3.setState({
showLoading: false
});
}

@@ -297,0 +308,0 @@ _this3.afterSave(resp);

2

package.json
{
"name": "@beisen-platform/export-form",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -219,3 +219,8 @@ import React,{ Component } from 'react';

fetchWithCors(formSaveUrl + '&exportFileType=' + this.state.value,{ method: 'POST', params: popOptions.searchData }).then(resp => {
this.setState({showLoading: false});
if(parseInt(resp.code) !== 200) {
this.setState({showLoading: false,showTip: true, tipInfo: { infoType: 'error',title: resp.message }});
}else {
this.setState({showLoading: false});
}
this.afterSave(resp);

@@ -222,0 +227,0 @@ },error => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc