@ -30,7 +30,7 @@ const env = getClientEnvironment(publicUrl);
module.exports = {
// You may want 'eval' instead if you prefer to see the compiled output in DevTools.
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s
//devtool: "cheap-module-eval-source-map",
devtool: "cheap-module-eval-source-map",
// 开启调试
//devtool: "source-map", // 开启调试
// These are the "entry points" to our application.
@ -326,8 +326,8 @@ module.exports = {
comments: false
},
compress: {
drop_debugger: true,
drop_console: true
drop_debugger: false,
drop_console: false
}
}),
@ -126,7 +126,7 @@ class Sendresource extends Component{
this.props.Cancel()
Saves=()=>{
debugger
let {fileList,description,is_public,datatime,Radiovalue} =this.state;
let newfileList=[];
@ -445,4 +445,4 @@ class Sendresource extends Component{
)
export default Sendresource;