mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-24 08:41:31 +00:00
commit some format issues
This commit is contained in:
parent
8b138ffe64
commit
6682415899
@ -39,14 +39,19 @@ function init(React){
|
||||
var self = this,
|
||||
result = {};
|
||||
|
||||
var filePath = React.findDOMNode(self.refs.localFilePath).value,
|
||||
keyword = React.findDOMNode(self.refs.keywordInput).value;
|
||||
var filePathInput = React.findDOMNode(self.refs.localFilePath),
|
||||
filePath = filePathInput.value,
|
||||
keywordInput = React.findDOMNode(self.refs.keywordInput),
|
||||
keyword = keywordInput.value;
|
||||
|
||||
if(filePath && keyword){
|
||||
self.props.onSubmit.call(null,{
|
||||
keyword : keyword,
|
||||
local : filePath
|
||||
});
|
||||
|
||||
filePathInput.value = "";
|
||||
keywordInput.value = "";
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -27969,14 +27969,19 @@
|
||||
var self = this,
|
||||
result = {};
|
||||
|
||||
var filePath = React.findDOMNode(self.refs.localFilePath).value,
|
||||
keyword = React.findDOMNode(self.refs.keywordInput).value;
|
||||
var filePathInput = React.findDOMNode(self.refs.localFilePath),
|
||||
filePath = filePathInput.value,
|
||||
keywordInput = React.findDOMNode(self.refs.keywordInput),
|
||||
keyword = keywordInput.value;
|
||||
|
||||
if(filePath && keyword){
|
||||
self.props.onSubmit.call(null,{
|
||||
keyword : keyword,
|
||||
local : filePath
|
||||
});
|
||||
|
||||
filePathInput.value = "";
|
||||
keywordInput.value = "";
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user